globocom/megadraft

Focus loss in plugins with react-select dependency

mogavin opened this issue · 0 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.