Editor: get focus immediately after first render + get focus after every change of its value #6936
Labels
Type: Bug
Issue contains a defect related to a specific component.
Milestone
Describe the bug
Editor component become focused:
value
propertyReproducer
https://codesandbox.io/p/sandbox/primereact-listbox-crash-forked-tpgv44
System Information
System:
OS: Windows 11 10.0.22621
CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-1235U
Memory: 1.19 GB / 15.71 GB
Binaries:
Node: 18.20.3 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (126.0.2592.113)
Internet Explorer: 11.0.22621.3527
npmPackages:
primereact: 10.7.0 => 10.7.0
react: 18.3.1 => 18.3.1
Steps to reproduce the behavior
In the demo llink above:
1.1 NOTE: if you remove initial value of quill editor - then button will have initial focus as expected.
Expected behavior
If value of the quill editor changes focus should stay where it was before
The text was updated successfully, but these errors were encountered: