fluttercommunity / fluttercommunity/flutter_webview_plugin

Constraint error when clicking textbox inside webview

Aperta
#397 7 commenti 7 reazioni 0 assegnatari Vedi su GitHub
bug IOS
Lingua principale
Java
Stelle
1.5k
Fork
938
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

final FlutterWebviewPlugin _webView = new FlutterWebviewPlugin();

If I call "_webView.launch(" it opens my company's login page, but if I click on the email textbox it displays this message on the terminal.
The app works fine, it just has that behavior every time you try to access a textbox.

For a more detailed help message, press "h". To detach, press "d"; to quit,
press "q".
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"",
"",
"",
"",
"=8)-| (active, names: '|':_UIButtonBarButton:0x7fa98ed4fc80 )>",
"=5)-[_UIModernBarButton:0x7fa98ed52c20] (active, names: '|':_UIButtonBarButton:0x7fa98ed525b0 )>",
"=5)-| (active, names: '|':_UIButtonBarButton:0x7fa98ed525b0 )>",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
)

Will attempt to recover by breaking constraint
=8)-| (active, names: '|':_UIButtonBarButton:0x7fa98ed4fc80 )>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"",
"",
"",
"=5)-[_UIModernBarButton:0x7fa98ed52c20] (active, names: '|':_UIButtonBarButton:0x7fa98ed525b0 )>",
"=5)-| (active, names: '|':_UIButtonBarButton:0x7fa98ed525b0 )>",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
)

Will attempt to recover by breaking constraint
=5)-| (active, names: '|':_UIButtonBarButton:0x7fa98ed525b0 )>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
)

Will attempt to recover by breaking constraint

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.