Closed Jake-Mulhern closed 1 year ago
dropdownShown={true}
Instead of true use a variable and execute your function when it has a truthy value
@danish1658 but I can't find where does your component updates this prop value. Seems like it's just an immutable prop that can't be normally used from outside of the component.
Of course, to add proper callback and to patch the package wouldn't be a problem, but IMO this is a common feature that most of the users will expect to be implemented.
yup, I also want this functionality! I can create a PR if you want!
I have some other components on the screen that will need to react to the dropdown opening. Is there a function that can be run when the dropdown opens or something similar?