SfRadial menu is stealing touch events

I have figured out that Syncfusion SfRadialMenu is still stealing touch events, even if its closed.
It means that all controls that are above or underneath of SfRadialMenu won't get touch events if they are overlapping.
I have an option that users can edit position of buttons in my program, so they can put buttons just above/under SfRadialMenu, so when it is closed i would like to get those touch events. I can guess that SfRadialMenu is implementing OnInterceptTouchEvent and simply always return 'true' there so Android is simply thinking that all events on this area should be passed to SfRadialMenu and is not asking any other control for that, doesnt matter if its above or underneath SfRadialMenu. It would be good to check if event is inside center button if menu is closed and if not return 'false' and do not steal touch events in this situation. Returning always true in OnInterceptTouchEvent is breaking default Android controls touch behaviour that controls above other controls will awlays get touch event first and controls underneath will got it only if a control above will return false in OnTouch method, so On

If anyone has the same problem, i have a workaround for that. I have made an OnInterceptTouchEvent on parent layout, and simply i am stealing all touch events and manually passing them to controls if its in SfRadialMenu area, before it will steal it.



1 Reply

SP Sakthivel Palaniyappan Syncfusion Team December 8, 2020 02:27 PM UTC

Hi Pawel,

We have analyzed your query and checked the reported issue with your provided information, but we could not able to reproduce the reported issue.  We have recorded video which shows on our side, please find the video from below.

Video:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/RadialMenu.mov1513108791.zip

Sample we tried that can be download from below.

Sample:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/RadialMenu_(1)646755206.zip

Since we are not aware of exact scenario of the issue, could you please check the issue with the attached sample and let us know whether it is reproduced or not? If the issue was not reproduced in this sample, please revert us by modifying the sample based on your application along with replication procedure or provide the sample. This will be helpful for us to investigate further and provide you a better solution at the earliest.

Regards,
Sakthivel P.
 


Loader.
Up arrow icon