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

Scan Area and button appear twice #668

Open
Mhussein27 opened this issue Jan 9, 2023 · 6 comments
Open

Scan Area and button appear twice #668

Mhussein27 opened this issue Jan 9, 2023 · 6 comments

Comments

@Mhussein27
Copy link

Describe the bug
Select Camera and Start Scanning button appears twice and when I click stop scanning to both buttons, I received the below error :

Screen Shot 2023-01-09 at 3 59 47 PM

To Reproduce
Steps to reproduce the behavior:

  1. in chrome After giving Camera permission and start first scan , you will see twice Start Scanning
  2. Click on 'stop Scanning' first button
  3. Click on 'Start Scanning' second button
  4. NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

Expected behavior
only one scan Area and button should appear

Screenshots
Screen Shot 2023-01-09 at 3 59 47 PM

Desktop (please complete the following information):

  • OS: [MAC]
  • Browser [chrome,]
  • Version [Version 108.0.5359.124 (Official Build) (arm64)]

Additional context
Add any other context about the problem here.

@Mhussein27 Mhussein27 changed the title Scan Area and button appears twice Scan Area and button appear twice Jan 9, 2023
@mebjas
Copy link
Owner

mebjas commented Feb 25, 2023

Can you provide me with a working example of how I can reproduce this?

A code example would also do.

@Caitlin-Finn
Copy link

@Mhussein27 what framework are you using? If you are using the latest react, this might be due to they way the DOM is rendered in the latest version.

@Mhussein27
Copy link
Author

Mhussein27 commented Feb 27, 2023 via email

@Lobana-sky
Copy link

@Mhussein27 how did you manage that, can you provide the code, please?

@onurerden
Copy link

@Mhussein27 1 year later, we got same error message. Can you explain us how did you solved it?

@Mhussein27
Copy link
Author

Mhussein27 commented Jun 7, 2024 via email

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

5 participants