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.

Right click generating an error

See original GitHub issue

New xterm is working fine for me, scrollbar works, mousescroll works, click drag works, but right click generates an error …

xterm.js:484 Uncaught DOMException: Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index.(…)
rightClickHandler @ xterm.js:484
(anonymous function) @ xterm.js:653

Details

  • Browser and browser version: Google Chrome (latest)
  • OS version: Ubuntu 16.04
  • xterm.js version: Version in /dist as of today

Steps to reproduce

  1. Right click on an active xterm.js scrollbar

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
oddjobzcommented, Oct 31, 2016

Yes, that fixed it! Many thanks!!

1reaction
oddjobzcommented, Oct 31, 2016

Nope, the xterm is sat in a gridstack which grabs the mouse, so selecting text isn’t possible …

Read more comments on GitHub >

github_iconTop Results From Across the Web

Here Are 9 Solutions to Mouse Right Click Not Working
Solution 1. Check Hardware Issue; Solution 2. Reinstall Mouse Driver; Solution 3. Change Power Management Settings for USB; Solution 4. Disable ...
Read more >
[Fixed] Right Click Not Responding or Working on Windows 10
Quick Fixes to "Right Click Not Working" Error · Fix 1. Try Restarting Your Computer or Laptop · Fix 2. Use Your Antivirus...
Read more >
FIX: Right Click Not Working in Windows 10 (Solved)
How to FIX: Right Click Menu Not Working in Windows 10. · Method 1. Turn off the Table Mode. · Method 2. Remove...
Read more >
Right Click Not Working in Windows 10? 19 Ways to Fix
1. Restart File Explorer. If you could right-click on the mouse or touchpad just before the issue started, you can try restarting File...
Read more >
Mouse Right Click Not Working in Windows 10 [Fixed]
What can I do if my right-click isn't working in Windows 10? · 1. Update the mouse driver · 2. Check the mouse...
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