mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 05:26:24 +09:00
ee150a5d0a02ac8b2f747a62078ee3c37833a375
fixes #3511 ## Description This is an experiment to see if setting `collisionPadding` can reduce the background panel jumps when switching tabs. `Popover` content always opens close to trigger, but there is no defined way to know when it repositions when the content is dynamically changed. So, when the panel is opened close to the bottom of the screen, the panel moves away from arrows under the cursor. ## Steps for reproduction - Add a background - Now, open the background panel and switch between the tabs. ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [x] made a self-review - [x] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [x] tested locally and on preview environment (preview dev login: 5de6)
Learning Resources
- Blog
- Documentation
- Brand and Product Design
- Contributing Guide for Devs
- Github Discussions
- Wishlist
- Builder Issues Tracker
- Roadmap
Social Media
Thanks
Thanks to Lost Pixel for providing the visual testing platform that helps us review UI changes and catch visual regressions.
Languages
TypeScript
98.9%
PLpgSQL
0.5%
CSS
0.3%
Shell
0.2%
JavaScript
0.1%
