Using Expo for Web, I am able to run my React Native app on my browser. When I use this package, however, the browser version of my app results in a very large window that allows me to scroll to the right. I found that this is due to each card having some strange underlying container that is incredibly large and scales with the size of the display. For example, I set the cards to dimensions of 300x300 and this underlying container that causes the page to be very large has dimensions of 1284x698. If someone could help me learn how to edit this underlying container's dimensions, that would be greatly appreciated. Thank you. I have attached screenshots to demonstrate what exactly is this container I am talking about.
The react-native-deck-swiper is designed for native applications. It uses the full screen of the device to calculate card sizes and overlays so that's why you're experiencing such issues.
Using Expo for Web, I am able to run my React Native app on my browser. When I use this package, however, the browser version of my app results in a very large window that allows me to scroll to the right. I found that this is due to each card having some strange underlying container that is incredibly large and scales with the size of the display. For example, I set the cards to dimensions of 300x300 and this underlying container that causes the page to be very large has dimensions of 1284x698. If someone could help me learn how to edit this underlying container's dimensions, that would be greatly appreciated. Thank you. I have attached screenshots to demonstrate what exactly is this container I am talking about.