fix(editor): drop the permanent will-change on the findings list, its text blurred on screen
This commit is contained in:
1 parent
9cedaccbb3
commit
1f0b710b6e
2 files changed
+13
-1
No files matched your search
@@ -221,4 +221,17 @@ describe('FindingsTreePicker on a sheet finding zone', () => {
|
||||
).not.toBeChecked()
|
||||
})
|
||||
})
|
||||
|
||||
it('the findings list carries no permanent compositing hint (text stays crisp)', () => {
|
||||
render(
|
||||
<FindingsTreePicker
|
||||
zone={sheet.findingZone('hip')!}
|
||||
selected={[]}
|
||||
onChange={() => {}}
|
||||
/>,
|
||||
)
|
||||
const ul = document.querySelector('ul') as HTMLElement
|
||||
expect(ul.getAttribute('style') ?? '').not.toContain('will-change')
|
||||
expect(ul.style.willChange).toBe('')
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user