Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zooming on timeline locks all other interaction on page on mobile devicwe #3833

Open
jurerepar opened this issue Aug 20, 2024 · 0 comments
Open
Labels

Comments

@jurerepar
Copy link

jurerepar commented Aug 20, 2024

Bug description

Zooming on mobile device (latest Chrome on Android device) breaks all other interaction on page. Only refreshing the page helps. Zooming is done on timeline with two finger swiping in opposite directions, screen recordin should demonstrate this.

Environment

  • Browser: Mobile Chrome

Minimal code snippet

Wavesurfer options:
`
wavesurfer.value = WaveSurfer.create({
container: '#waveform',
url: props.src,
minPxPerSec: 20,
dragToSeek: true,
height: 160,
// Set a bar width
barWidth: 2,
// Optionally, specify the spacing between bars
barGap: 2,
// And the bar radius
barRadius: 2,
plugins: [TimelinePlugin.create()],
})

// Initialize the Zoom plugin
wavesurfer.value.registerPlugin(
ZoomPlugin.create({
// the amount of zoom per wheel step, e.g. 0.5 means a 50% magnification per scroll
scale: 0.2,
// Optionally, specify the maximum pixels-per-second factor while zooming
maxZoom: 100,
}),
)
`

Expected result

Zooming the timeline, not breaking other interaciton on page

Obtained result

Not zoming the timeline, breaking other interaciton on page

Screenshots

Screen_Recording_20240820_233457_Chrome.mp4
@jurerepar jurerepar added the bug label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant