Skip to content

Blank scan screen #46

Closed Answered by alexssdb
alexssdb asked this question in Q&A
Jun 7, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Fixed.

I needed to add to the file
theme/variables.scss

Thanks!

body.barcode-scanning-active {
visibility: hidden;
--background: transparent;
--ion-background-color: transparent;
}

.barcode-scanning-modal {
visibility: visible;
}

@media (prefers-color-scheme: dark) {
.barcode-scanning-modal {
--background: transparent;
--ion-background-color: transparent;
}
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andrefnc4
Comment options

Answer selected by robingenz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants