Yuanjiang Chen
Yuanjiang Chen

Reputation: 11

Focus element can't be fully shown in Voice Over

I'm using LazyVGrid embed in a ScrollView in SwiftUI, when I open the caption panel in VoiceOver, the bottom item can't be fully shown.enter image description here It will be shown just right if I close the caption panel. enter image description here I've set the

.ignoresSafeArea(edges: .bottom) 

modifier on the ScrollView. If I comment out this modifier, the items are displayered properly in VoiceOver even with the caption panel open. But this solution doesn't meet the UI/UX requirements. Is there any workaround that can solve this issue? Thanks in advance!

I hope the items can be shown fully in VoiceOver no matter whether the caption panel is open or closed.

Upvotes: 1

Views: 27

Answers (0)

Related Questions