douglasjunior / react-native-keyboard-manager

⚛ Library to prevent issues of keyboard sliding up and cover inputs on React-Native iOS projects.
https://www.npmjs.com/package/react-native-keyboard-manager
MIT License
971 stars 59 forks source link

Can't find keyplane that supports type 8 for keyboard #59

Closed mydesweb closed 4 years ago

mydesweb commented 5 years ago

This lib is awesome, but sometimes my app is freezing after I started to use this library.

Here is the log:

Can't find keyplane that supports type 8 for keyboard iPhone-PortraitChoco-DecimalPad; using 25712_PortraitChoco_iPhone-Simple-Pad_Default 2019-10-14 17:46:50.320640+0300 App[20893:2271211] [LayoutConstraints] Unable to simultaneously satisfy constraints. 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:0x600001c26a80 h=--& v=--& _UIToolbarContentView:0x7fdf8cd97d40.width == 0 (active)>", "<NSLayoutConstraint:0x600001ccac10 H:|-(0)-[_UIButtonBarStackView:0x7fdf8cd983d0] (active, names: '|':_UIToolbarContentView:0x7fdf8cd97d40 )>", "<NSLayoutConstraint:0x600001cc8af0 _UIButtonBarStackView:0x7fdf8cd983d0.trailing == _UIToolbarContentView:0x7fdf8cd97d40.trailing (active)>", "<NSLayoutConstraint:0x600001c6a6c0 'TB_Leading_Leading' H:|-(8)-[_UIModernBarButton:0x7fdf8ce063f0'Done'] (active, names: '|':_UIButtonBarButton:0x7fdf8ceeab60 )>", "<NSLayoutConstraint:0x600001c7d400 'TB_Trailing_Trailing' H:[_UIModernBarButton:0x7fdf8ce063f0'Done']-(0)-| (active, names: '|':_UIButtonBarButton:0x7fdf8ceeab60 )>", "<NSLayoutConstraint:0x600001c26bc0 'UISV-canvas-connection' UILayoutGuide:0x60000067e3e0'UIViewLayoutMarginsGuide'.leading == UIView:0x7fdf8ced3560.leading (active)>", "<NSLayoutConstraint:0x600001c25450 'UISV-canvas-connection' UILayoutGuide:0x60000067e3e0'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x7fdf8ceeab60.trailing (active)>", "<NSLayoutConstraint:0x600001c275c0 'UISV-spacing' H:[UIView:0x7fdf8ced3560]-(0)-[UIView:0x7fdf8cd86370] (active)>", "<NSLayoutConstraint:0x600001c25130 'UISV-spacing' H:[UIView:0x7fdf8cd86370]-(0)-[UIView:0x7fdf8ceaaa20] (active)>", "<NSLayoutConstraint:0x600001c27160 'UISV-spacing' H:[UIView:0x7fdf8ceaaa20]-(0)-[_UIButtonBarButton:0x7fdf8ceeab60] (active)>", "<NSLayoutConstraint:0x600001cb5e50 'UIView-leftMargin-guide-constraint' H:|-(0)-UILayoutGuide:0x60000067e3e0'UIViewLayoutMarginsGuide' (active, names: '|':_UIButtonBarStackView:0x7fdf8cd983d0 )>", "<NSLayoutConstraint:0x600001cb77a0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x60000067e3e0'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x7fdf8cd983d0 )>" )

Will attempt to recover by breaking constraint <NSLayoutConstraint:0x600001c7d400 'TB_Trailing_Trailing' H:[_UIModernBarButton:0x7fdf8ce063f0'Done']-(0)-| (active, names: '|':_UIButtonBarButton:0x7fdf8ceeab60 )>

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. 2019-10-14 17:47:12.785209+0300 App[20893:2314454] XPC connection interrupted

Bing619 commented 4 years ago

I have the same problem, how to solve?

douglasjunior commented 4 years ago

I haven't had this problem with my apps yet. We need an example project to test.

Bing619 commented 4 years ago

I use the new xcode (11.3.1) have the problem.

Bing619 commented 4 years ago

I change the simulator, and it's ok. Despite these caveats. Thanks

Sikandarkhan commented 3 years ago

this problem still exists. Any solutions @Bing619 ?