File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1+ # Fix mobileSetKeyboardDisplay panning incorrect amount on second and subsequent keyboard activation
Original file line number Diff line number Diff line change @@ -822,8 +822,8 @@ - (void)keyboardWillActivate:(NSNotification *)notification
822822 t_info = [notification userInfo ];
823823
824824 CGSize t_size;
825- t_size = [[t_info objectForKey: UIKeyboardFrameBeginUserInfoKey ] CGRectValue ].size ;
826-
825+ t_size = [[t_info objectForKey: UIKeyboardFrameEndUserInfoKey ] CGRectValue ].size ;
826+
827827 // MM-2012-02-26: [[ Bug 10677 ]] Keyboard dimensions do not take into account orientation.
828828 // We want height here, so assume the keyboard is always wider than it is taller and take the min of the two.
829829 CGFloat t_height = MCMin (t_size . height, t_size . width);
You can’t perform that action at this time.
0 commit comments