Last Updated: 19 Jan 2023 14:50 by ADMIN

Subscribing to touch manager events is setting the Stylus.IsPressAndHoldEnabled attached property on the associated element to False. However, the property is not set back to True, after you remove the TouchManager event handlers from the element. Therefore, the default tap and hold action that displays the rectangular shape over the element is no longer executed.

To work this around set the Stylus.IsPressAndHoldEnabled attached property manually.

DragDropManager.RemoveDragInitializeHandler(element, OnDragInitialized);
Stylus.SetIsPressAndHoldEnabled(element, true);

Last Updated: 25 Nov 2019 08:15 by ADMIN
Release LIB 2019.3.1125 (11/25/2019)
Currently, even if the TouchManager.IsTouchEnabled property is set to False, we are still subscribing to touch events. We should provide an option to entirely disable the TouchManager.