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

First seat gets selected when clicking elsewhere #79

Open
titaniteChuck opened this issue Mar 14, 2019 · 4 comments
Open

First seat gets selected when clicking elsewhere #79

titaniteChuck opened this issue Mar 14, 2019 · 4 comments

Comments

@titaniteChuck
Copy link

Clicking anywhere in the div #chartSeat (not on a seat) toggles the top-left seat selection status.
It toggles back at the next hovering of any seat.
It also does not toggle if this seat is already selected.

Not that important, but it seems easy to fix :)
This problem is present in your demo version if you want to check.

Great repo !

@satriani05
Copy link

I got same problem also.
Have you found the solution?

@titaniteChuck
Copy link
Author

Hey satriani ! No I have'nt unfortunatly, it would have required to look into the sources, but I did not have the time nor the skills to do so

@wg-glitch
Copy link

I just worked on this today.

All you need to do is comment out or remove the following line within the jquery.seat-charts.js file.
line 472: seats[seatIds[0]].focus();

I believe this is an accessibility feature, but needs some tweaking as it does lead to unexpected behaviour.

@wg-glitch
Copy link

Saying that the line above it.
line 471: fn.find('.seatCharts-seat:not(.seatCharts-space):first').focus(); also needs removing otherwise the map jumps to the top.

I will have an investigate properly over the coming weeks and share anything that might be helpful...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants