Skip to content

Commit 95ca003

Browse files
authored
Add note about custom editing areas w/React 16
See zenoamaro#309 This _may_ be related to a change in React 16: https://github.com/facebook/react/blob/master/CHANGELOG.md#breaking-changes
1 parent fdf8525 commit 95ca003

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ class MyComponent extends React.Component {
372372

373373
If you instantiate ReactQuill without children, it will create a `<div>` for you, to be used as the editing area for Quill. If you prefer, you can specify your own element for ReactQuill to use. Note that `<textarea>`s are not supported by Quill at this time.
374374

375+
Note: Custom editing areas lose focus when using React 16 as a peer dep at this time ([bug](https://github.com/zenoamaro/react-quill/issues/309)).
376+
375377
<details>
376378

377379
```jsx

0 commit comments

Comments
 (0)