-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
iOS constraint issues #308
Comments
I have same issue too |
Hi i have the same problem on IOS
Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. |
Even if this error appears, are you still having trouble entering text? I can enter text without any problems on the simulator, for example using the computer keyboard. Also, have you tried using a real device? On real devices, it should work. |
I have same problem on simulator using the computer keyboard. flutter_inappwebview: ^4.0.0
|
@no1-knows Do you have problems typing with the keyboard? If not, you can just not consider it. |
@pichillilorenzo It seems no problem typing with keyboard as far as I check google.com on webview! |
The same error/warn message appears to be also on the official flutter webview plugin. However, on every test I have done using the keyboard, I never had problems with it, so I think that we can just ignore it. |
I have the issue. After this issue happens that none of callbacks (ex: onLoadStart,onLoadStop ) would receive event. API error: <_UIKBCompatInputView: 0x108252810; frame = (0 0; 0 0); layer = <CALayer: 0x2836a9d00>> returned 0 width, assuming UIViewNoIntrinsicMetric Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. Will attempt to recover by breaking constraint Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. |
Same issue is happening for me as well. It is occurring on Physical Devices as well. How do i fix this please help |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue. |
Environment
**Flutter version: stable
**Plugin version: 2.1.0+1
Android version:
**iOS version: 12.1
**Xcode version: 11
**Device information:6s
Description
iOS Contraints issues.
Steps to reproduce
Open a keyboard when the user touches in a input text
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)
(
"<NSAutoresizingMaskLayoutConstraint:0x600000b49270 h=-&- v=-&- _UIToolbarContentView:0x7fbe0b443010.width == UIToolbar:0x7fbe0b43e920.width (active)>",
"<NSLayoutConstraint:0x600000ba54a0 H:|-(0)-[_UIButtonBarStackView:0x7fbe0b449ad0] (active, names: '|':_UIToolbarContentView:0x7fbe0b443010 )>",
"<NSLayoutConstraint:0x600000ba7160 _UIButtonBarStackView:0x7fbe0b449ad0.trailing == _UIToolbarContentView:0x7fbe0b443010.trailing (active)>",
"<NSLayoutConstraint:0x600000bbb4d0 H:|-(16)-[_UIModernBarButton:0x7fbe06968070] (active, names: '|':_UIButtonBarButton:0x7fbe06966320 )>",
"<NSLayoutConstraint:0x600000bbb570 H:[_UIModernBarButton:0x7fbe06968070]-(>=8)-| (active, names: '|':_UIButtonBarButton:0x7fbe06966320 )>",
"<NSLayoutConstraint:0x600000b4c190 H:|-(>=5)-[_UIModernBarButton:0x7fbe069687e0] (active, names: '|':_UIButtonBarButton:0x7fbe06968590 )>",
"<NSLayoutConstraint:0x600000b4c1e0 H:[_UIModernBarButton:0x7fbe069687e0]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x7fbe06968590 )>",
"<NSLayoutConstraint:0x600000b4caf0 H:|-(8)-[_UIModernBarButton:0x7fbe06968f50'Done'] (active, names: '|':_UIButtonBarButton:0x7fbe06968d00 )>",
"<NSLayoutConstraint:0x600000b4cb40 H:[_UIModernBarButton:0x7fbe06968f50'Done']-(16)-| (active, names: '|':_UIButtonBarButton:0x7fbe06968d00 )>",
"<NSLayoutConstraint:0x600000b4cf00 'UISV-canvas-connection' UILayoutGuide:0x6000011e0380'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x7fbe06966320.leading (active)>",
"<NSLayoutConstraint:0x600000b4d0e0 'UISV-canvas-connection' UILayoutGuide:0x6000011e0380'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x7fbe06968d00.trailing (active)>",
"<NSLayoutConstraint:0x600000b4d130 'UISV-spacing' H:[_UIButtonBarButton:0x7fbe06966320]-(0)-[UIView:0x7fbe069683b0] (active)>",
"<NSLayoutConstraint:0x600000b4d180 'UISV-spacing' H:[UIView:0x7fbe069683b0]-(0)-[_UIButtonBarButton:0x7fbe06968590] (active)>",
"<NSLayoutConstraint:0x600000b4d1d0 'UISV-spacing' H:[_UIButtonBarButton:0x7fbe06968590]-(0)-[UIView:0x7fbe06968b20] (active)>",
"<NSLayoutConstraint:0x600000b489b0 'UISV-spacing' H:[UIView:0x7fbe06968b20]-(0)-[_UIButtonBarButton:0x7fbe06968d00] (active)>",
"<NSLayoutConstraint:0x600000b49400 'UIView-Encapsulated-Layout-Width' UIToolbar:0x7fbe0b43e920.width == 0 (active)>",
"<NSLayoutConstraint:0x600000ba6120 'UIView-leftMargin-guide-constraint' H:|-(0)-UILayoutGuide:0x6000011e0380'UIViewLayoutMarginsGuide' (active, names: '|':_UIButtonBarStackView:0x7fbe0b449ad0 )>",
"<NSLayoutConstraint:0x600000ba50e0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6000011e0380'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x7fbe0b449ad0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000bbb570 H:[_UIModernBarButton:0x7fbe06968070]-(>=8)-| (active, names: '|':_UIButtonBarButton:0x7fbe06966320 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> 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)
(
"<NSAutoresizingMaskLayoutConstraint:0x600000b49270 h=-&- v=-&- _UIToolbarContentView:0x7fbe0b443010.width == UIToolbar:0x7fbe0b43e920.width (active)>",
"<NSLayoutConstraint:0x600000ba54a0 H:|-(0)-[_UIButtonBarStackView:0x7fbe0b449ad0] (active, names: '|':_UIToolbarContentView:0x7fbe0b443010 )>",
"<NSLayoutConstraint:0x600000ba7160 _UIButtonBarStackView:0x7fbe0b449ad0.trailing == _UIToolbarContentView:0x7fbe0b443010.trailing (active)>",
"<NSLayoutConstraint:0x600000b4c190 H:|-(>=5)-[_UIModernBarButton:0x7fbe069687e0] (active, names: '|':_UIButtonBarButton:0x7fbe06968590 )>",
"<NSLayoutConstraint:0x600000b4c1e0 H:[_UIModernBarButton:0x7fbe069687e0]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x7fbe06968590 )>",
"<NSLayoutConstraint:0x600000b4caf0 H:|-(8)-[_UIModernBarButton:0x7fbe06968f50'Done'] (active, names: '|':_UIButtonBarButton:0x7fbe06968d00 )>",
"<NSLayoutConstraint:0x600000b4cb40 H:[_UIModernBarButton:0x7fbe06968f50'Done']-(16)-| (active, names: '|':_UIButtonBarButton:0x7fbe06968d00 )>",
"<NSLayoutConstraint:0x600000b4cf00 'UISV-canvas-connection' UILayoutGuide:0x6000011e0380'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x7fbe06966320.leading (active)>",
"<NSLayoutConstraint:0x600000b4d0e0 'UISV-canvas-connection' UILayoutGuide:0x6000011e0380'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x7fbe06968d00.trailing (active)>",
"<NSLayoutConstraint:0x600000b4d130 'UISV-spacing' H:[_UIButtonBarButton:0x7fbe06966320]-(0)-[UIView:0x7fbe069683b0] (active)>",
"<NSLayoutConstraint:0x600000b4d180 'UISV-spacing' H:[UIView:0x7fbe069683b0]-(0)-[_UIButtonBarButton:0x7fbe06968590] (active)>",
"<NSLayoutConstraint:0x600000b4d1d0 'UISV-spacing' H:[_UIButtonBarButton:0x7fbe06968590]-(0)-[UIView:0x7fbe06968b20] (active)>",
"<NSLayoutConstraint:0x600000b489b0 'UISV-spacing' H:[UIView:0x7fbe06968b20]-(0)-[_UIButtonBarButton:0x7fbe06968d00] (active)>",
"<NSLayoutConstraint:0x600000b49400 'UIView-Encapsulated-Layout-Width' UIToolbar:0x7fbe0b43e920.width == 0 (active)>",
"<NSLayoutConstraint:0x600000ba6120 'UIView-leftMargin-guide-constraint' H:|-(0)-UILayoutGuide:0x6000011e0380'UIViewLayoutMarginsGuide' (active, names: '|':_UIButtonBarStackView:0x7fbe0b449ad0 )>",
"<NSLayoutConstraint:0x600000ba50e0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6000011e0380'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x7fbe0b449ad0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000b4c1e0 H:[_UIModernBarButton:0x7fbe069687e0]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x7fbe06968590 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> 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)
(
"<NSAutoresizingMaskLayoutConstraint:0x600000b49270 h=-&- v=-&- _UIToolbarContentView:0x7fbe0b443010.width == UIToolbar:0x7fbe0b43e920.width (active)>",
"<NSLayoutConstraint:0x600000ba54a0 H:|-(0)-[_UIButtonBarStackView:0x7fbe0b449ad0] (active, names: '|':_UIToolbarContentView:0x7fbe0b443010 )>",
"<NSLayoutConstraint:0x600000ba7160 _UIButtonBarStackView:0x7fbe0b449ad0.trailing == _UIToolbarContentView:0x7fbe0b443010.trailing (active)>",
"<NSLayoutConstraint:0x600000b4caf0 H:|-(8)-[_UIModernBarButton:0x7fbe06968f50'Done'] (active, names: '|':_UIButtonBarButton:0x7fbe06968d00 )>",
"<NSLayoutConstraint:0x600000b4cb40 H:[_UIModernBarButton:0x7fbe06968f50'Done']-(16)-| (active, names: '|':_UIButtonBarButton:0x7fbe06968d00 )>",
"<NSLayoutConstraint:0x600000b4cf00 'UISV-canvas-connection' UILayoutGuide:0x6000011e0380'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x7fbe06966320.leading (active)>",
"<NSLayoutConstraint:0x600000b4d0e0 'UISV-canvas-connection' UILayoutGuide:0x6000011e0380'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x7fbe06968d00.trailing (active)>",
"<NSLayoutConstraint:0x600000b4d130 'UISV-spacing' H:[_UIButtonBarButton:0x7fbe06966320]-(0)-[UIView:0x7fbe069683b0] (active)>",
"<NSLayoutConstraint:0x600000b4d180 'UISV-spacing' H:[UIView:0x7fbe069683b0]-(0)-[_UIButtonBarButton:0x7fbe06968590] (active)>",
"<NSLayoutConstraint:0x600000b4d1d0 'UISV-spacing' H:[_UIButtonBarButton:0x7fbe06968590]-(0)-[UIView:0x7fbe06968b20] (active)>",
"<NSLayoutConstraint:0x600000b489b0 'UISV-spacing' H:[UIView:0x7fbe06968b20]-(0)-[_UIButtonBarButton:0x7fbe06968d00] (active)>",
"<NSLayoutConstraint:0x600000b49400 'UIView-Encapsulated-Layout-Width' UIToolbar:0x7fbe0b43e920.width == 0 (active)>",
"<NSLayoutConstraint:0x600000ba6120 'UIView-leftMargin-guide-constraint' H:|-(0)-UILayoutGuide:0x6000011e0380'UIViewLayoutMarginsGuide' (active, names: '|':_UIButtonBarStackView:0x7fbe0b449ad0 )>",
"<NSLayoutConstraint:0x600000ba50e0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x6000011e0380'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x7fbe0b449ad0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000b4cb40 H:[_UIModernBarButton:0x7fbe06968f50'Done']-(16)-| (active, names: '|':_UIButtonBarButton:0x7fbe06968d00 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
The text was updated successfully, but these errors were encountered: