-
|
Hi! I'm facing a weird issue with element hitboxes inside FlyleafHost. I placed my custom navigation bar directly inside fl:FlyleafHost so it stays on top during native full-screen mode. The layout is simple: control buttons (Play/Pause/Mute) are aligned to the left, and the FullScreen button is aligned to the right. Here is the problem: the left-aligned buttons work flawlessly and register 100% of the clicks. However, the right-aligned FullScreen button has broken hitboxes - sometimes it registers the click, and sometimes the mouse just "passes through" straight into the video stream. Why are the right-aligned elements failing the hit-test, while the left side works perfectly? How can I fix this in XAML to ensure the FullScreen button hitbox is fully reliable? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
It sounds like an airspace issue but not easy to understand without a sample xaml. Try to use a background color for the stack/grid that you use (even a 'fake' transparent color to avoid air space issue). |
Beta Was this translation helpful? Give feedback.
It sounds like an airspace issue but not easy to understand without a sample xaml. Try to use a background color for the stack/grid that you use (even a 'fake' transparent color to avoid air space issue).