globocom / megadraft

Megadraft is a Rich Text editor built on top of Facebook's Draft.JS featuring a nice default base of components and extensibility

Home Page:http://megadraft.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Focus loss in plugins with react-select dependency

mogavin opened this issue · comments

Expected Behavior

After inserting a plug-in block that uses a react-select component, it should be possible to interact with its autocomplete.

Current Behavior

The input is not active and you need to click outside the editor and click inside the input again for the cursor to appear.

Steps to Reproduce

  1. Render a MegadraftEditor component;
  2. Add some plugin block that uses a react-select component;
  3. Click in select input. The cursor not appear.