-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use JS to trigger hover and reposition the flyout #47238
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~13 bytes added 📈 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~623 bytes added 📈 [gzipped])
React components that are loaded lazily, when a certain part of UI is displayed for the first time. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
ee090e7
to
3145a09
Compare
29a931b
to
754a9b8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this. Great UX improvement.
I've done a code review and will try and test manually shortly.
Some minor points, some related to performance which could easily be pushed into followups.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing this it seems to work really well on large and smaller screens keeping the flyout on screen at all times 👍
I tested using Calypso Live link.
One nit I noticed but otherwise good.
Co-authored-by: Dave Smith <[email protected]>
Builds on #47198
Changes proposed in this Pull Request
We need to use JS instead of CSS for 2 reasons :
bottom:0
if it is off the screenTesting instructions
Fixes #46094