Skip to content

Player prevents other elements on the page from being focused #231

@cheap-glitch

Description

@cheap-glitch

Your environment

  • Version used: 0.9.3.162
  • Platform used: JavaScript
  • Rendering engine used: SVG
  • Browser Name and Version: Firefox & Chromium
  • Operating System and version (desktop or mobile): ArchLinux
  • Link to your project: https://www.theguitarlickdatabase.com

Expected Results

Until now, when a tab was created with an associated soundfont, the alphatab player would integrate well within the page and interaction with other elements was unhindered.

Observed Results

The player steals the focus permanently and thus prevents other elements, such as text inputs, text areas and select menus from being interacted with. Weirdly, buttons, checkboxes and radio buttons seems unaffected.
Live example : https://www.theguitarlickdatabase.com/lick/30

This must have happened a few updates ago, because before that everything was working fine. Also, this only occurs when a soundfount is loaded along with the tab, so simple tabs without a playback don't cause that problem.

EDIT: after some investigating, it appears the bug first happened in version 0.9.3.158

Steps to Reproduce (for bugs)

Create a web page with a few form elements and a tab with playback activated.

Metadata

Metadata

Assignees

Labels

area-renderingEverything related to the renderingplatform-javascriptRelated to the JavaScript version of alphaTabstate-acceptedThis is a valid topic to work on.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions