Resolve issue with click event handling
This commit is contained in:
parent
385e38c06d
commit
a48597b979
@ -473,7 +473,7 @@ class BesService {
|
||||
* @param {PointerEvent} event The event produced by a pointer such as the geometry of the contact point, the device type that generated the event, the amount of pressure that was applied on the contact surface, etc.
|
||||
*/
|
||||
static handleClick(event) {
|
||||
const source = event?.detail || event
|
||||
const source = event?.detail !== 1 ? event?.detail : event
|
||||
const hostElement = BesService.findParent(
|
||||
source.targetElement || source.target
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user