Can't select text inside of Rover
See original GitHub issue🐛 Bug report
Current behavior
I’m trying to recreate the behavior of <Step />
but there’s an issue with selecting text rendered inside of a <Rover />
. It can’t be selected.
I tried using as={Box}
to render it as a div
but text selection is still not allowed. Using devTools to modify the Rover to be a div
or span
works, but only if as
is not used.
The focusable
property doesn’t change this behavior.
Steps to reproduce the bug
Expected behavior
Contents of <Rover />
should be selectable.
Possible solutions
Unknown. Issue did not exist in v0
so perhaps there are some clues there
Environment
$ npx envinfo --system --binaries --npmPackages
System:
OS: Windows 7
CPU: (2) x64 Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
Memory: 2.98 GB / 13.75 GB
Binaries:
Yarn: 1.17.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.2.0 - C:\Users\Remie\AppData\Roaming\npm\npm.CMD
As far as fully transitioning to v1
I’d rank this bug as a critical bug for us.
PS: I’m pretty sure this is the last bug report from me! Besides these few reports everything else works great transitioning from v0
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Can't select text inside of DIV element - Stack Overflow
You put the z-index of .main-page-content as -1. This puts it below everything and makes it unselectable.
Read more >Can't Select Text - Autodesk Community - AutoCAD
Every so often I have an issue where I can't select text/edit text/move text/etc...Any suggestions or solutions?
Read more >can't edit or select text in textbox - Microsoft Community
Right click into the text itself, being careful to not catch the box boundary. Another way: right-click and choose Edit Text from the...
Read more >[Accordion] Can't select text inside summary #20700 - GitHub
The issue is present in the latest release. I have searched the issues of this repository and believe that this is not a...
Read more >How do I troubleshoot the Rover app? – Help Center
If the Rover app stops working, try these troubleshooting tips to get back on ... It's also a good idea to opt in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It has been fixed on #458. Will be available in the next release.
Regarding the issue with
onMouseDown
, I posted a Twitter thread (putting it here for reference): https://twitter.com/diegohaz/status/1176998100495491072