Skip to content

Cannot set property popable of undefined #24699

@svipas

Description

@svipas

🐛 Bug Report

image

To Reproduce

I don't know to reproduce it, but we are using this code:

const task: PromiseTask = {
    name: 'active_worker_task',
    gen: fn
};

const interactionTask = () => this._interactionManager.runAfterInteractions(task).then();

What is really weird it happens unexpectedly, so I don't know how to reproduce it. We are using this type of code to perform some tasks to allow smooth animations since it runs after animations.

Expected Behavior

To not throw this type of error when using runAfterInteractions.

Environment

  React Native Environment Info:
    System:
      OS: macOS 10.14.4
      CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
      Memory: 445.96 MB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 10.15.3 - /usr/local/opt/node@10/bin/node
      Yarn: 1.15.2 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/opt/node@10/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
    IDEs:
      Android Studio: 3.2 AI-181.5540.7.32.5014246
      Xcode: 10.2/10E125 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3 
      react-native: 0.59.4 => 0.59.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions