mmazzarolo / react-native-dialog

Pure JavaScript React-Native dialog
MIT License
681 stars 111 forks source link

Buttons appear stacked on Android (expected side by side) #140

Closed Nantris closed 2 years ago

Nantris commented 2 years ago

Environment

System:
    OS: Linux 5.13 Ubuntu 21.10 21.10 (Impish Indri)
    CPU: (2) x64 AMD Ryzen 7 5800X 8-Core Processor
    Memory: 474.98 MB / 7.75 GB
    Shell: 5.8 - /usr/bin/zsh
  Binaries:
    Node: 14.17.6 - ~/.nvm/versions/node/v14.17.6/bin/node
    Yarn: 1.22.16 - ~/.nvm/versions/node/v14.17.6/bin/yarn
    npm: 8.9.0 - ~/.nvm/versions/node/v14.17.6/bin/npm
    Watchman: 20220501.130507.0 - /usr/local/bin/watchman
  SDKs:
    Android SDK: Not Found
  IDEs:
    Android Studio: Not Found
  Languages:
    Java: Not Found
  npmPackages:
    @react-native-community/cli: Not Found
    react: * => 17.0.2 
    react-native: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Platforms

Android (iOS untested)

Versions

Description

Buttons appear stacked, despite plenty of room to display side by side:

image

Nantris commented 2 years ago

verticalButtons true/false on Container makes no difference.

Nantris commented 2 years ago

The styles that are being applied by default are the same as the ones that used to work for us in a forked version of this library we used internally, just applied with React Native Stylesheets instead of Emotion. I really cannot figure out why this might not be working, but it isn't.

Nantris commented 2 years ago

It works fine in an Expo Snack so clearly this is some bug in our code, though I cannot imagine what.