Skip to content

Conversation

@zztnrudzz13
Copy link
Collaborator

@zztnrudzz13 zztnrudzz13 commented Jan 13, 2026

Overview

Summary

This PR introduces the useAvoidKeyboard hook, which helps fixed-bottom elements (such as FixedBottomCTA) smoothly avoid the on-screen keyboard.

Features

  • style: Ready-to-use CSS style object containing transform and transition properties
  • keyboardHeight: Current keyboard height in pixels
  • isKeyboardVisible: Boolean indicating whether the keyboard is currently visible

Checklist

  • Did you write the test code?
  • Have you run yarn run fix to format and lint the code and docs?
  • Have you run yarn run test:coverage to make sure there is no uncovered line?
  • Did you write the JSDoc?

@zztnrudzz13
Copy link
Collaborator Author

this PR is stacked, so please review only this commit!

Copy link
Collaborator

@kimyouknow kimyouknow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants