fix(scroll): prevent scroll on document to keep sticky elements#997
fix(scroll): prevent scroll on document to keep sticky elements#997jer3m01 wants to merge 1 commit into
Conversation
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fixes layout shifts from sticky elements in prevent scroll.
Original report kobaltedev/kobalte#698.
Fix on corvu corvudev/corvu#107.
Moves hidden overflow from
bodytodocumentElement, same as react-aria.Tested working without breaking changes in Firefox 152.0.6 W11 and Edge 150.0.4078.83 W11.