I'm mind-boggled and frustrated. I've played around with bug for about half an hour and cannot figure out what I'm doing wrong. Maybe someone here has experienced this bug before and can share some light to a solution.
The Goal: To figure out why the image carousel's style order in the Elements tab in Chrome Dev Tools is switched for one of four of my pages causing the opacity to be overwritten.
Expected Result: The carousel should be displayed like it is for the other 3 pages.
Actual Result: The carousel is hidden due to ordering in Elements tab of Dev Tools.
After Initial Investigation: The style order in Elements tab is switched for the left webpage (the .carousel-item
class should be second in order (bottom instead of top) but instead it is shown first in the order (at the top) causing the opacity of the .item-1-31
class to be overwritten by the opacity of the .carousel-item
class.
No error messages to report!
There are 4 models pages and 3 of 4 pages are displaying the correct result.
Web Pages Side-by-side in Chrome Dev Tools
Carousel-(Specific Model) CSS Files Side-by-side
React Components JS Files Side-by-side
Update: (Edit & Partially Solved) I managed to fix the bug by changing the order of import statements specifically the CSS files in the React component file that was not showing this carousel. I would still like to understand why I had to do that to make it work because the order in the other 3 pages works as-is.
Any help is greatly appreciated. Thanks!