You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ui5-dynamic-page): correct header snap/pin inconsistency at page top (#11098)
Problem:
Several issues occurred with the header snap/pin interaction:
When the header was pinned and then snapped, it would glitch into an inconsistent state appearing both snapped and unsnapped simultaneously
After unpinning a previously pinned header, attempting to snap it would cause the same visual inconsistency
Pinned headers that were snapped remained in a pinned state, causing unexpected behavior
Solution:
Modified the _toggleHeader method to properly detect when a pinned header is being snapped and ensure it unpins automatically. Also improved the onPinClick method to better handle unpinning when at the top of the page by checking the scroll position and updating the showHeaderInStickArea property accordingly.
Fixes: #11088
0 commit comments