Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ToggleButton When Used as Child Component is Removed from SelectedValues #1738

Closed
rollinsb1010 opened this issue Jul 13, 2021 · 2 comments
Closed
Labels

Comments

@rollinsb1010
Copy link

rollinsb1010 commented Jul 13, 2021

Affected Projects
React

Library Version: 3.20.0

Describe the bug

Trying to use ToggleButton as a child component of ReactiveList. The initial query is fired and properly executed in most cases but then unable to reset the filter. Therefore, it only appears in SelectedFilters for a second before being removed.

To Reproduce
https://codesandbox.io/s/charming-thompson-nzxet?file=/src/index.js:1941-2526

Steps to reproduce the behavior:

  1. Create ReactiveList with render method
  2. Render ToggleButton component within ReactiveList render method

Expected behavior
Goal is to keep ToggleButton state in selectedValues and be able to unset the state via SelectedFilters once enabled

Screenshots

Desktop (please complete the following information):

OS: OSX Catalina
Browser: Firefox Developer Ed
Version: Latest

@bietkul
Copy link
Contributor

bietkul commented Jul 14, 2021

@rollinsb1010 Can you please use the issue template?

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 16, 2022
@stale stale bot closed this as completed Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants