Skip to content

Fix isPartiallyVisible was returns false when child is larger than parent#9

Merged
cheonjaeung merged 1 commit into
mainfrom
cj/fix-is-partially-visible
Nov 21, 2025
Merged

Fix isPartiallyVisible was returns false when child is larger than parent#9
cheonjaeung merged 1 commit into
mainfrom
cj/fix-is-partially-visible

Conversation

@cheonjaeung

Copy link
Copy Markdown
Owner

If the child view is larger then parent container and child's start and end is out of bounds, The ViewBoundsHelper.isPartiallyVisible was returns false. It is incorrect. In this situation, the function should return true because event if child view start and end is invisible, the child view is partially visible.
This commit fix this bug.

…rent

If the child view is larger then parent container and child's start and end is out of bounds,
The ViewBoundsHelper.isPartiallyVisible was returns false. It is incorrect.
In this situation, the function should return true because event if child view start and end is
invisible, the child view is partially visible.
This commit fix this bug.
@cheonjaeung
cheonjaeung merged commit f584b68 into main Nov 21, 2025
2 checks passed
@cheonjaeung
cheonjaeung deleted the cj/fix-is-partially-visible branch November 21, 2025 12:03
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.

1 participant