question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Web PopupContainer

See original GitHub issue

本地环境

  • 运行环境及其版本:RN组件,版本1.0.0-beta.2
showPopup = () => {
    Popup.show(this.getPopupContent()
      , {
        animationType: 'slide-up', maskClosable: true,
        onMaskClose: () => { }
      }
    );
  }
  getPopupContent = () => {
    return (
      <View>
        <ImagePicker
          onChange={this.handleFileChange}
          files={this.state.files}
        />
      </View>
    );
  }

image

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Feb 17, 2017

我也遇到这个问题, 使用popup,弹出对象不能使用函数式组件(因为它自身没有状态), 必须用react.component的组件. 如何优化这个组件,可以支持函数式组件呢?

0reactions
silentcloudcommented, Jul 25, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Create Popups - W3Schools
How To Create Popups. Step 1) Add HTML: Example. <div class="popup" onclick= ...
Read more >
How to Add Pop-Up Info Boxes to Your Website - Solodev
Here's how to add these helpful pop-up boxes to your website: ... <div class="mini-box-space-photo position-relative">.
Read more >
Add a pop-up box to my website - GoDaddy
Select the Website tab at the top of your editor then select Popup from Website Add-Ons. Select the Edit Website tab then select...
Read more >
How to Add a Simple Popup Box or Window on WordPress ...
How to Add a Simple Popup Box or Window on WordPress Website ? Watch the video to learn the process :-) ...
Read more >
Add a Popup widget to HTML of a website - Elfsight
How do I embed Popup code to HTML website? · Construct your unique Pop up box. Managing our free configurator, set up a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found