Element keys set with Reacton `.key(...)` are not recognized by the ipyvuetify transition group
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Reproduce the warning with rv.FadeTransition(group=True) and keyed MplFigure components, using rv.Dialog as the root element. Start by tracing how Reacton’s .key(...) is passed to the ipyvuetify transition group; done when Vue recognizes the keys and no longer reports unkeyed transition-group children.
Written by the indexing model from the issue text.
Description
Hello!
I'm not sure if this issue should be opened in reacton or ipyvuetify repository.
When I try to use Vuetify transition groups, I get an error in browser console saying:
[Vue warn]: <transition-group> children must be keyed: <v-dialog>
However I used a key method on reacton elements inside the group:
with rv.FadeTransition(group=True):
if figures.raw_measurements:
MplFigure(*figures.raw_measurements).key("raw_measurements")
if figures.field_accuracy:
MplFigure(*figures.field_accuracy).key("field_accuracy")
if figures.calibration_moment:
MplFigure(*figures.calibration_moment).key("calibration_moment")
(MplFigure here is a @reacton.component with rv.Dialog as the root element.)
Should the same keys be used by Vue in browser?
- Dominant language
- Python
- Stars
- 317
- Forks
- 19
- Avg merge
- 14m
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from widgetti/reacton
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in widgetti/reacton
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
stephrobert/dsoxlab#238 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
sublimehq/package_control#1780 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
nwg-piotr/nwg-displays#145 ·