LivenessCameraModule not compatible with bootstrap 5 #4597
Labels
bug
Something isn't working
Liveness
pending-maintainer-response
Issue is pending response from an Amplify UI maintainer
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React
Which UI component?
Liveness
How is your app built?
CRA
What browsers are you seeing the problem on?
Chrome, Firefox, Microsoft Edge, Safari, iOS (React Native), Android (React Native)
Which region are you seeing the problem in?
us-east-1
Please describe your bug.
When using bootstrap 5 the Freshness Canva wont show up, the screen wont flash the colors which will reduce the Confidence level in about 25-30 points.
The error happens because the this component has a "hidden" property in the line 176
Bootstrap has a CSS property inside their reset module which adds display block to every component with the "hidden" property
What's the expected behaviour?
The amplify liveness component is supposed to work without being affected by other libraries, since aws launched their face liveness feature, people will start integrating it inside their existing aplications.
Help us reproduce the bug!
Import the default and complete boostrap and run the example from this tutorial
https://ui.docs.amplify.aws/react/connected-components/liveness
Code Snippet
Console log output
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: