-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Versions
I can reproduce this bug in Seed 0.9
I cannot reproduce this bug in Seed 0.8
In short:
- In
viewwe return something likediv![el_ref(&some_elref), div!["Some text"]] - After running
view, insideupdatesome_elref.get().is_none()is true.
This means that DOM node is not attached to ElRef under some conditions.
Example: https://github.com/wkordalski/seed-elref-bug
Run it with:
yarn
yarn run webpack serve
Open localhost:8888
Open Developer tools (esp. console).
Click "Add measurements" few times (not every time this bug is visible)
Exploading assertion should be visible in the console.
...under some conditions
It seems that this bug is related to running async code or websockets.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working