UNPKG

@100mslive/roomkit-react

Version:

![Banner](https://github.com/100mslive/web-sdks/blob/06c65259912db6ccd8617f2ecb6fef51429251ec/prebuilt-banner.png)

8 lines (7 loc) 214 B
/** * Add __cancel-drag-event for the menu to open on touch devices on the draggdable element * */ export const getDragClassName = () => { return navigator?.maxTouchPoints > 0 ? '__cancel-drag-event' : ''; };