bonafideduck / react-highlight-within-textarea

React component for highlighting bits of text within a textarea
93 stars 13 forks source link

Selection demo is broken due to 3.x.x focus differences. #159

Open bonafideduck opened 2 years ago

bonafideduck commented 2 years ago

Problem:

When the Selection demo is run in releases 2.x.x, it works, but not in 3.x.x. The difference is that 3.x.x loses focus when the buttons are clicked.

Action required:

Determine if the focus difference is correct and either fix it if not or fix the Selection demo to handle the change.