rhysd / neovim-component

<neovim-editor> WebComponent to embed Neovim to your app with great ease
https://github.com/rhysd/NyaoVim
MIT License
193 stars 18 forks source link

Click position seems calculated based on absolute position #49

Closed rhysd closed 6 years ago

rhysd commented 6 years ago

Repro

  1. Put <neovim-component> with padding at left of the element.
  2. Click some point in screen
  3. Cursor position is wrong

This issue was found on NyaoVim using nyaovim-tree-view.

Env