esprima icon indicating copy to clipboard operation
esprima copied to clipboard

Esprima demo interface seems to be broken

Open goelayu opened this issue 5 years ago • 5 comments

Steps to reproduce

  1. Go to https://esprima.org/demo/parse.html#
  2. The cursor location seems to be incorrect while editing the live source code area.

goelayu avatar Jun 29 '20 17:06 goelayu

@goelayu Any information on the web browser and operating system used to reproduce this issue?

ariya avatar Jun 30 '20 15:06 ariya

@ariya I made a gif to preview this issue:

Kapture 2020-07-17 at 15 21 12

Chrome: 83.0.4103.116(64) MacOS: 10.15.5

nanyang24 avatar Jul 17 '20 07:07 nanyang24

The editor in the demo is github.com/Microsoft/monaco-editor, so likely it's related to that. Can you try with the online Monaco demo? Does it behave differently with another browser?

ariya avatar Jun 11 '21 03:06 ariya

The editor in the demo is github.com/Microsoft/monaco-editor, so likely it's related to that. Can you try with the online Monaco demo? Does it behave differently with another browser?

Yes, I have tried again to make sure I only see the problem in the Esprima demo. And I use Monaco Editor a lot in my work, maybe I can help you? But I don't actually see the original code for the demo in this repository, could you point me to it?

nanyang24 avatar Jun 11 '21 04:06 nanyang24

And I use Monaco Editor a lot in my work, maybe I can help you? But I don't actually see the original code for the demo in this repository, could you point me to it?

Check the gh-branches. Maybe we just need an updated Monaco editor, and if you can help with that, it'll be fantastic!

ariya avatar Jun 11 '21 05:06 ariya