Commit fd86124
committed
Make selected value non-clickable
A native HTML select cannot be triggered programatically to open,
because this would post a security risk, so clicking on the selected
value that is not part of the select element won't make the options
dropdown open. In order to make the selected value look like part
of the whole select flow, an absolute positioning is needed, which
was already implemented. The issue was that the element would still
be clickable, so cancelling the pointer events will make the click
trigger go through it, directly to the select element.
Issue: PER-10229 Archive-member-invite, access-role-dropdown, click area buggy1 parent 6eae006 commit fd86124
File tree
2 files changed
+5
-1
lines changed2 files changed
+5
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments