This repository has been archived by the owner on May 1, 2024. It is now read-only.
On Android, Button.Released event does not fire in ContentView if placed inside a TableView and finger is released outside of the button [Bug] #15769
Labels
Description
I've made a custom image button using ContentView as follows (see the attached zip), see also CustomImageButton at:
https://github.com/hyvanmielenpelit/GnollHack/tree/master/win/win32/winclisrv/GnollHackClient/GnollHackClient/Controls
CustomImageButton.zip
It works fine otherwise, but on Android when I put it inside a TableView, Button.Release event does not fire if I drag the finger outside of the button before releasing. On iOS it works just fine, and also if I release the finger inside the button. Something to do with TableView on Android clearly.
Steps to Reproduce
Expected Behavior
On Android, CustomImageButton changes bitmap when the finger is released outside of the button.
Actual Behavior
On Android, CustomImageButton does not change the bitmap on released event if the finger was outside of the button. (iOS is ok, and also if the finger was inside the button when released, or if the button is not inside a TableView.)
Basic Information
Environment
Show/Hide Visual Studio info
Build Logs
Screenshots
Reproduction Link
Workaround
Not found, just using currently non-changing bitmaps, but this is not ideal.
The text was updated successfully, but these errors were encountered: