We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89c2faf commit f890d42Copy full SHA for f890d42
packages/components/src/list-item-block/view.ts
@@ -41,7 +41,7 @@ export const listItemBlockView = $view(
41
dom.onMount = () => {
42
const { anchor, head } = view.state.selection
43
if (view.hasFocus()) {
44
- Promise.resolve().then(() => {
+ setTimeout(() => {
45
const anchorPos = view.state.doc.resolve(anchor)
46
const headPos = view.state.doc.resolve(head)
47
view.dispatch(
0 commit comments