ctxhou / react-poppop Goto Github PK
View Code? Open in Web Editor NEWA mobile support and multi-directional modal for ReactJS
Home Page: https://ctxhou.github.io/react-poppop/
A mobile support and multi-directional modal for ReactJS
Home Page: https://ctxhou.github.io/react-poppop/
centerCenter should be the default in my opinion
Because react-tappable currently doesn't support react v16, need to use other method to support touch event.
injectTapEventPlugin
https://ovkn502kp5.codesandbox.io/node_modules/react-tap-event-plugin/src/injectTapEventPlugin.js:23:89
evaluate
https://ovkn502kp5.codesandbox.io/node_modules/react-poppop/lib/poppop.js:43:35
ref #52
Hi,
I want to change the style of the close button, is there an easy way to do this?
Thanks
Hey,
Thanks for the repo.
How can I apply styles so I can change how the popup looks like?
Tried this:
<PopPop position="centerCenter"
open={true}
closeBtn={false}
closeOnEsc={false}
closeOnOverlay={false}
style={{
backdropFilter: "blur(10px)",
backgroundColor: "transparent",
boxShadow: "none",
display: "flex",
flexDirection: "column",
alignItems: "center"
}}
>
<h1> Test 123 </h1>
</PopPop>
But it does not have any effect.
Hi,
I want to use this library as a right sidebar.
I have a problem because the wrapper has a 20px padding.
How can I remove this padding ? Can I add className to the popupcomponent ?
Thank you
when content is too big
the popup window can't show scroll bar.
after remove div, warning
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.