Open sumbganesh opened 8 months ago
I have grid layout in my page. But in mobile devices, when i try to scroll by touching on any item in the grid, it won't scroll, but it will scroll when I touch on in gap or outside the items. How can I fix it?
const touchScrollAllow = async () => { await tick() for(let elm of document.querySelectorAll('.svlt-grid-item')) elm.style.touchAction = 'auto' } afterUpdate(()=>{ touchScrollAllow() })
I have grid layout in my page. But in mobile devices, when i try to scroll by touching on any item in the grid, it won't scroll, but it will scroll when I touch on in gap or outside the items. How can I fix it?