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

No press events after using bottomsheet #2534

Open
PrimulaX opened this issue Apr 15, 2024 · 4 comments
Open

No press events after using bottomsheet #2534

PrimulaX opened this issue Apr 15, 2024 · 4 comments

Comments

@PrimulaX
Copy link

PrimulaX commented Apr 15, 2024

Current Behavior

When importing bottomsheet component every press event stops working and the application is completely frozen. This happened only in production builds.

Expected Behavior

No response

Tamagui Version

v1.94.4

Platform (Web, iOS, Android)

iOS, Android

Reproduction

1. Import bottomsheet headless API and create bottomsheet component
2. Build an application for production.
3. No press events

System Info

System:
    OS: macOS 14.4.1
    CPU: (8) arm64 Apple M1
    Memory: 110.64 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.5.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 10.2.4 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 123.0.6312.122
    Safari: 17.4.1
  npmPackages:
    @babel/core: * => 7.24.4 
    @expo/metro-config: * => 0.10.7 
    @faker-js/faker: * => 8.4.1 
    @fortawesome/fontawesome-svg-core: * => 6.5.2 
    @fortawesome/pro-light-svg-icons: * => 6.5.2 
    @fortawesome/pro-regular-svg-icons: * => 6.5.2 
    @fortawesome/pro-solid-svg-icons: * => 6.5.2 
    @fortawesome/react-native-fontawesome: * => 0.3.0 
    @nx/expo: * => 16.10.0 
    @react-native-async-storage/async-storage: * => 1.18.2 
    @react-navigation/bottom-tabs: * => 6.5.20 
    @react-navigation/native: * => 6.1.17 
    @react-navigation/native-stack: * => 6.9.26 
    @storybook/addon-actions: * => 6.5.16 
    @storybook/addon-ondevice-actions: * => 6.5.7 
    @storybook/addon-ondevice-backgrounds: * => 6.5.7 
    @storybook/addon-ondevice-controls: * => 6.5.7 
    @storybook/addon-ondevice-notes: * => 6.5.7 
    @storybook/docs-tools: * => 6.5.16 
    @storybook/react: * => 6.5.16 
    @storybook/react-native: * => 6.5.7 
    @tamagui/animations-react-native: * => 1.94.4 
    @tamagui/colors: * => 1.94.4 
    @tamagui/config: * => 1.94.4 
    @tamagui/core: * => 1.94.4 
    @tamagui/create-theme: * => 1.94.4 
    @tamagui/font-inter: * => 1.94.4 
    @tamagui/get-token: * => 1.94.4 
    @tamagui/helpers-icon: * => 1.94.4 
    @tamagui/linear-gradient: * => 1.94.4 
    @tamagui/lucide-icons: * => 1.94.4 
    @tamagui/react-native-media-driver: * => 1.94.4 
    @tamagui/sheet: * => 1.94.4 
    @tamagui/shorthands: * => 1.94.4 
    @tamagui/theme-builder: * => 1.94.4 
    @tamagui/themes: * => 1.94.4 
    @tamagui/toast: * => 1.94.4 
    @tamagui/web: * => 1.94.4 
    @testing-library/jest-native: * => 5.4.3 
    @testing-library/react-native: * => 12.3.0 
    axios: * => 0.21.4 
    dayjs: * => 1.11.10 
    event-target-shim: * => 5.0.1 
    events: * => 3.3.0 
    expo: * => 49.0.23 
    expo-clipboard: * => 4.3.1 
    expo-constants: * => 14.4.2 
    expo-file-system: * => 15.4.5 
    expo-font: * => 11.4.0 
    expo-linking: * => 5.0.2 
    expo-splash-screen: ~0.20.5 => 0.20.5 
    expo-status-bar: ~1.6.0 => 1.6.0 
    expo-updates: * => 0.18.19 
    libphonenumber-js: * => 1.10.60 
    lodash: * => 4.17.21 
    metro-config: * => 0.76.7 
    react: * => 18.2.0 
    react-content-loader: * => 6.2.1 
    react-hook-form: * => 7.51.2 
    react-native: * => 0.72.6 
    react-native-calendars: * => 1.1304.1 
    react-native-gesture-handler: * => 2.12.1 
    react-native-reanimated: * => 3.3.0 
    react-native-reanimated-carousel: * => 3.5.1 
    react-native-render-html: * => 6.3.4 
    react-native-safe-area-context: * => 4.6.3 
    react-native-screens: * => 3.22.1 
    react-native-svg: * => 13.9.0 
    react-native-svg-transformer: * => 1.0.0 
    react-native-webview: * => 13.8.4 
    redux-persist: * => 6.0.0 
    regex-parser: * => 2.3.0 
    tamagui: * => 1.94.4 
@hrzepinski
Copy link

hrzepinski commented Apr 26, 2024

Can confirm, our app is unusable because of this, we had to revert Tamagui. It breaks ONLY in release mode and ONLY on iOS. When I click on any button I get these warnings in xcode console:

Exception thrown while executing UI block: -[__NSDictionaryM doubleValue]: unrecognized selector sent to instance 0x6000002f64e0
Not a value node.

or
Animated node with tag <ID> does not exist

@PrimulaX
Copy link
Author

@hrzepinski Is this with expo or w/o?

@hrzepinski
Copy link

with expo

@PrimulaX
Copy link
Author

PrimulaX commented May 5, 2024

@hrzepinski Same, I tried it without headless API and works tho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants