Skip to content

feat(mobile): implement useSafeAreaInset function, test codes, and an example#18

Merged
zztnrudzz13 merged 12 commits intomainfrom
feat/use-safe-area-inset
Feb 6, 2026
Merged

feat(mobile): implement useSafeAreaInset function, test codes, and an example#18
zztnrudzz13 merged 12 commits intomainfrom
feat/use-safe-area-inset

Conversation

@zztnrudzz13
Copy link
Copy Markdown
Collaborator

Overview

✅ Features

  • Add useSafeAreaInset hook for reactive safe area tracking
  • New React hook that automatically updates safe area insets when screen orientation changes
  • Listens to resize and orientationchange events for real-time updates
  • Uses startTransition for optimized performance during rapid updates

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 zztnrudzz13 marked this pull request as ready for review January 27, 2026 14:49
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 27, 2026

Size Change: 0 B 🆕

Total Size: 0 B

compressed-size-action

Copy link
Copy Markdown
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!

@zztnrudzz13 zztnrudzz13 merged commit 2c18f5f into main Feb 6, 2026
6 of 11 checks passed
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.

2 participants