This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Commit d464904
update(panel): constrain panel to viewport boundries (#9651)
Prevents the panel from going outside the viewport by adjusting the position.
If developers want more control over how the panel gets repositioned, they can specify addition fallback positions via `addPanelPosition`.
Related to #9641.
Fixes #7878.1 parent 2c286b4 commit d464904
2 files changed
+239
-94
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2153 | 2153 | | |
2154 | 2154 | | |
2155 | 2155 | | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
2156 | 2162 | | |
2157 | 2163 | | |
2158 | 2164 | | |
| |||
2536 | 2542 | | |
2537 | 2543 | | |
2538 | 2544 | | |
| 2545 | + | |
| 2546 | + | |
| 2547 | + | |
2539 | 2548 | | |
2540 | 2549 | | |
2541 | 2550 | | |
| |||
2554 | 2563 | | |
2555 | 2564 | | |
2556 | 2565 | | |
2557 | | - | |
| 2566 | + | |
2558 | 2567 | | |
2559 | 2568 | | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
| 2572 | + | |
2560 | 2573 | | |
2561 | 2574 | | |
2562 | 2575 | | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
| 2582 | + | |
| 2583 | + | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
2563 | 2609 | | |
2564 | 2610 | | |
2565 | 2611 | | |
| |||
0 commit comments