MM-21634 Fix keyboard glitch when returning to channel screen from the code screen (#3824)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
parent
4d83724092
commit
e8398cb880
1 changed files with 5 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ import React from 'react';
|
|||
import {intlShape} from 'react-intl';
|
||||
import {
|
||||
Clipboard,
|
||||
Keyboard,
|
||||
StyleSheet,
|
||||
Text,
|
||||
View,
|
||||
|
|
@ -66,7 +67,10 @@ export default class MarkdownCodeBlock extends React.PureComponent {
|
|||
});
|
||||
}
|
||||
|
||||
goToScreen(screen, title, passProps);
|
||||
Keyboard.dismiss();
|
||||
requestAnimationFrame(() => {
|
||||
goToScreen(screen, title, passProps);
|
||||
});
|
||||
});
|
||||
|
||||
handleLongPress = async () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue