Skip to content

Conversation

@Blankeye-zero
Copy link

  • error dosent happen if the _portalController.hide() is moved into _handleOutsideTap

@Blankeye-zero
Copy link
Author

#126 #127

@Blankeye-zero
Copy link
Author

#118

@liuhll
Copy link

liuhll commented Aug 15, 2024

I have the same problem. When will the bug be fixed and a new version be released?

@Blankeye-zero
Copy link
Author

@liuhll waiting for the reviewer. In the mean time, you could change the source code yourself on your version of the package. Remember, hot restart dosen't reflect changes made to installed packages. You would need to rerun the app after stopping it.

@oi-narendra
Copy link
Owner

@Blankeye-zero Thank you for your contribution. Your change indeed resolves the issue.

However, it also affects the current functionality for closing the dropdown via the controller. The listener is crucial for closing the dropdown, so it's essential to include the _portalController.hide(); call within the listener's callback to maintain that functionality.

@oi-narendra
Copy link
Owner

The solution is to remove the controller listener on widget disposal. #132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants