question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

Demonstration

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:closed
  • Created 4 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
diegohazcommented, Oct 31, 2019

It has been fixed on #458. Will be available in the next release.

1reaction
diegohazcommented, Sep 25, 2019

Regarding the issue with onMouseDown, I posted a Twitter thread (putting it here for reference): https://twitter.com/diegohaz/status/1176998100495491072

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found