DioxusLabs / DioxusLabs/dioxus-components
potential bug in Select - when drop down is open and the current view is closed, a RefCell already borrowed panic occurs
- Dominant language
- Rust
- Stars
- 343
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
I have an element, which display a Select component. Outside the component is a "close" button, which basically calls a callback from the parent element, removing this element from view.
When I display this element again, a new Select is rendered. As expected, I can do this process many times without any issues.
However, if I click on the close button while the drop down is open and I display the element again, I get:
```
18:53:43 [web] panicked at /home/dev/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/dioxus-core-0.7.9/src/arena.rs:59:50:
RefCell already borrowed
```
panic.
What is the best way to troubleshoot this issue? Thank you.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.