fix(ui): prevent selection checkboxes from creating phantom scroll height
Add `position: relative` to `.bui-Table` so it becomes the containing block for react-aria's absolutely positioned hidden checkbox inputs. Without this, the inputs position themselves relative to a distant ancestor, extending its scrollable area and creating phantom scroll height. Signed-off-by: Johan Persson <johanopersson@gmail.com>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
---
|
||||
'@backstage/ui': patch
|
||||
---
|
||||
|
||||
Fixed Table with row selection creating phantom scroll height on ancestor elements by establishing a containing block for visually-hidden checkbox inputs.
|
||||
|
||||
**Affected components:** Table, TableRoot
|
||||
Reference in New Issue
Block a user