Touch Event At The Top of Screen of Wearable Device
Touch Event At The Top of Screen of Wearable Device
BY 06 Apr 2016Web Application Development
I started to learn Tizen wearable development just a few weeks ago. When I tried to add a “touchstart” and a “touchend” event listener to an element at the top of screen. I found the “touchstart” event will not be triggered when I press on it. And both the two events will be triggered at the same time, which means when click activity is over, these two events will be triggered together.
This only happens to elements at the top of the screen. The tizenhwkey has been disabled, and “event.preventDefault()” is called. Both “true” and “false” have been tried as the third parameter of “addEventListener” function. Still the problem is not solved.
Touch Event At The Top of Screen of Wearable Device
I started to learn Tizen wearable development just a few weeks ago. When I tried to add a “touchstart” and a “touchend” event listener to an element at the top of screen. I found the “touchstart” event will not be triggered when I press on it. And both the two events will be triggered at the same time, which means when click activity is over, these two events will be triggered together.
This only happens to elements at the top of the screen. The tizenhwkey has been disabled, and “event.preventDefault()” is called. Both “true” and “false” have been tried as the third parameter of “addEventListener” function. Still the problem is not solved.
Has anyone ever met this problem?
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio