Skip to content
New issue

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

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

Already on GitHub? # to your account

POS: When using barcode scanners, ticket information might not get properly shown before enter prompt #3

Closed
akx opened this issue Feb 18, 2017 · 1 comment · Fixed by #18
Assignees
Labels

Comments

@akx
Copy link
Member

akx commented Feb 18, 2017

Something has changed in modern Chromes that causes the prompt() for committing a ticket usage to be shown before the UI in the background has a chance to update to show the ticket information.

This only manifests when using sufficiently fast input devices such as barcode scanners, or for debugging the issue, an AutoHotkey script like CapsLock & C::Send 123123{Return}.

@japsu has hotfixed this in Kompassi by using setTimeout: con2/kompassi@282d0ca#diff-edd209dab48c8dc758347b39388c940cR127

Might be worth it to look into changing the prompt into something less intrusive, such as a DIY HTML prompt.

@akx akx added the bug label Feb 18, 2017
@akx akx assigned akx, japsu and Hilzu Feb 18, 2017
@akx

This comment was marked as duplicate.

akx added a commit that referenced this issue Jan 19, 2024
This was referenced Jan 19, 2024
@akx akx closed this as completed in #18 Jan 19, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants