Commit d90aa74
committed
fix: fix search result grid scroll interaction
1. Changed GridViewContainer to be wrapped in an Item container for
better structure
2. Set GridViewContainer interactive property to false to prevent click-
through issues that prevented closing
3. Added custom MouseArea to handle wheel scrolling when scrollbar is
visible
4. Implemented manual scroll position control with proper bounds
checking
5. Maintained all original GridViewContainer functionality and
appearance
fix: 修复搜索结果网格滚动交互问题
1. 将 GridViewContainer 包装在 Item 容器中以获得更好的结构
2. 设置 GridViewContainer 的 interactive 属性为 false,防止点击穿透问题
导致无法关闭
3. 添加自定义 MouseArea 处理滚动条可见时的滚轮滚动
4. 实现手动滚动位置控制,包含适当的边界检查
5. 保持所有原始 GridViewContainer 功能和外观
PMS: BUG-3244211 parent 80d6f79 commit d90aa74
1 file changed
Lines changed: 44 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
607 | | - | |
608 | | - | |
609 | | - | |
| 607 | + | |
610 | 608 | | |
611 | 609 | | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
628 | 653 | | |
629 | 654 | | |
630 | 655 | | |
| |||
0 commit comments