Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 1963

FMX components trigger premature mouse events in iOS - Delphi 10

$
0
0

I have a simple Multi-Device application that consists of a TTabControl, 1 TTabItem and a TButton on in the tabitem.  If I press and hold the button down, onMouseUp is triggered before I let go.  FMX.Platforms.iOS  touchesCancelled is being called which is forcing a MouseUp event.

  • This only happens when the button is in a TabControl (the main application relies heavily on TabControls, so we don't want to move away from this).
  • If we downgrade back to XE8, this DOES NOT happen
  • This happens even on a simple test application with the 3 components mentioned above, and put some kind of action in the onMouseEvent of the button
  • This does not occur on Android on Win32 (kind of obvious since FMX.Platforms.iOS wouldn't be called)
  • We also tried replacing with a onMouseLeave event, but still touchesCancelled gets called and a MouseUp event is forced.
  • Happens on devices and simulator

Any ideas?


Viewing all articles
Browse latest Browse all 1963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>