@bpmn-io/properties-panel 0.20.1 → 0.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -433,7 +433,7 @@ function useShowEntryEvent(id) {
433
433
  }
434
434
  }
435
435
  }, [id]);
436
- hooks.useEffect(() => {
436
+ hooks.useLayoutEffect(() => {
437
437
  if (focus.current && ref.current) {
438
438
  if (minDash.isFunction(ref.current.focus)) {
439
439
  ref.current.focus();