Commit e46b867
authored
fix(ui5-list): adjust observer to handle sticky headers (#11526)
Problem:
The list's onLoadMore event is not triggered in Firefox at certain zoom levels when a sticky header is present. This is due to how Firefox calculates intersections with sticky positioned elements, causing subpixel rendering issues.
Solution:
Use the proper scroll container as the root for the IntersectionObserver and add a rootMargin of 5px.
Similar to: #11242
Fixes: #114611 parent a661e82 commit e46b867
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
1425 | 1426 | | |
1426 | 1427 | | |
1427 | 1428 | | |
| 1429 | + | |
| 1430 | + | |
1428 | 1431 | | |
1429 | | - | |
1430 | | - | |
| 1432 | + | |
| 1433 | + | |
1431 | 1434 | | |
1432 | 1435 | | |
1433 | 1436 | | |
| |||
0 commit comments