utopia icon indicating copy to clipboard operation
utopia copied to clipboard

Fix context menu from going off-screen

Open lankaukk opened this issue 1 year ago • 2 comments

Problem: The context menu for canvas elements was going off screen.

Fix: Now the context menu content scrolls vertically, and has a maximum height responsive to the visible screen height.

Before After
Content Cell Content Cell
Content Cell Content Cell

Manual Tests: I hereby swear that:

  • [ ] I opened a hydrogen project and it loaded
  • [ ] I could navigate to various routes in Preview mode

lankaukk avatar Jul 30 '24 17:07 lankaukk

Try me

github-actions[bot] avatar Jul 30 '24 17:07 github-actions[bot]

#13600 Bundle Size — 62.65MiB (~+0.01%).

3c02312(current) vs 6339ece master#13586(baseline)

[!WARNING] Bundle contains 70 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#13600
     Baseline
#13586
Regression  Initial JS 45.73MiB(~+0.01%) 45.73MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 22.23% 21.56%
No change  Chunks 31 31
No change  Assets 34 34
No change  Modules 4377 4377
No change  Duplicate Modules 525 525
No change  Duplicate Code 31.64% 31.64%
No change  Packages 469 469
No change  Duplicate Packages 70 70
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
#13600
     Baseline
#13586
Regression  JS 62.64MiB (~+0.01%) 62.64MiB
Improvement  HTML 11.16KiB (-0.33%) 11.2KiB

Bundle analysis reportBranch fix-context-menuProject dashboard

relativeci[bot] avatar Jul 30 '24 17:07 relativeci[bot]