Clicking on the icon will invoke text selection.
Categories
(GeckoView :: General, defect)
Tracking
(Not tracked)
People
(Reporter: yjbrowserjyt, Unassigned)
References
Details
Attachments
(1 file)
168.84 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0
Steps to reproduce:
visit https://www.ghxi.com/
click menu
clike icon
I have outlined the steps in the attachment.
Actual results:
Text selection will be triggered.
Expected results:
Clicking the icon should not trigger text selection.
Comment 1•1 year ago
|
||
This is also reproducible on Desktop Firefox with 1) Using Devtools -> Responsive Design mode 2) set about:config layout.accessiblecaret.enabled
: true
and layout.accessiblecaret.hide_carets_for_mouse_input
: false
So i guess Core-> DOM:Selection might be the proper component.
Comment 2•1 year ago
•
|
||
I guess that turning the SVG icon is misunderstood as dragging in the element even without a pointer move, anyway, let's ask TYLin.
Comment 3•1 year ago
|
||
Thanks for the bug report! I think this is a dup of bug 1698629 since the icon is an <svg>
element. Single-clicking on the <svg>
actually (wrongly) makes a selection. With AccessibleCaret enabled, it just makes the problem more obvious.
Comment 4•1 year ago
|
||
Could we fix this on GeckoView side? (Since this isn't annoying in Desktop side)
Possible solution: do not show selection when selected text content is empty.
Updated•1 year ago
|
Comment 5•1 year ago
|
||
Possible solution: do not show selection when selected text content is empty.
Sorry, I think it again. this only prevents the menu show, but won't prevent the carets show.
Description
•