Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit f1c2bc9

Browse files
authored
Remove blank space that is left after keyboard is closed (#1125)
Fixes #1029
1 parent 17ccc9d commit f1c2bc9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

native/android/app/src/main/assets/editor.html

+4
Original file line numberDiff line numberDiff line change
@@ -1653,6 +1653,10 @@
16531653
setTimeout(function () {
16541654
$("#zss_editor_content").focus();
16551655
}, 500)
1656+
1657+
$(window).resize(function() {
1658+
$("#zss_editor_content").height($(window).height());
1659+
});
16561660
</script>
16571661
</body>
16581662
</html>

native/app/react-native-zss-rich-text-editor/src/editor.html

+4
Original file line numberDiff line numberDiff line change
@@ -1653,6 +1653,10 @@
16531653
setTimeout(function () {
16541654
$("#zss_editor_content").focus();
16551655
}, 500)
1656+
1657+
$(window).resize(function() {
1658+
$("#zss_editor_content").height($(window).height());
1659+
});
16561660
</script>
16571661
</body>
16581662
</html>

0 commit comments

Comments
 (0)