Skip to content
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

feat: OverKeyboardView with custom ShadowNode #863

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: ktlint
kirillzyusko committed Mar 19, 2025
commit 753a6993b203bcbd2517bd2ea8f06808e53ec8d5
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ class OverKeyboardViewManager(
override fun updateState(
view: OverKeyboardHostView,
props: ReactStylesDiffMap,
stateWrapper: StateWrapper
stateWrapper: StateWrapper,
): Any? {
view.stateWrapper = stateWrapper
return null
Original file line number Diff line number Diff line change
@@ -130,7 +130,12 @@ class OverKeyboardRootViewGroup(
isAttached = false
}

override fun onSizeChanged(w: Int, h: Int, oldWidth: Int, oldHeight: Int) {
override fun onSizeChanged(
w: Int,
h: Int,
oldWidth: Int,
oldHeight: Int,
) {
super.onSizeChanged(w, h, oldWidth, oldHeight)

stateWrapper?.let { sw ->