Skip to content

Add a Null-Check before insert the overlayEntry inside SuggestionBoxController#127

Open
joCur wants to merge 1 commit intodanvick:masterfrom
joCur:master
Open

Add a Null-Check before insert the overlayEntry inside SuggestionBoxController#127
joCur wants to merge 1 commit intodanvick:masterfrom
joCur:master

Conversation

@joCur
Copy link

@joCur joCur commented Sep 5, 2022

Overlay.of(context) can be null, therefore a !-Operator is not appropriate here. Right now this code can result in a _CastError, which results in immediately closing of the keyboard when trying to open it.

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.

1 participant