Comments (6)
Hey @maracuja-juice ,
We have plans to make Micromodal in React and Vue.
It will take some time to cover all that. Seeking your patience here. :D
Parking this issue for now, we will update you as soon as we roll out that.
from micromodal.
Wanted to see if there was an update for this, or if any help was needed?
from micromodal.
Why do that instead of using https://github.com/reactjs/react-modal or https://ui.reach.tech/ modal?
from micromodal.
@zebapy why not do it?
from micromodal.
@shikkaba reinventing the wheel, etc. I don't see anything in this lib that does accessible modal more successfully than the already existing react modal options. This is a great vanilla js modal.
from micromodal.
Micromodal accesses the DOM and does a lot of work under the hood which makes it an easy plug and play solution.
Since most code in React is declarative in nature, building this library in React would mean making choices which would greatly change the footprint and the "feel" of the library. It would in no way be related to how this library functions and would thus become just another react modal library.
There are a lot of fantastic react libraries could meet your requirements. I urge you to reach for them for your needs.
Having said that, I do believe that "re-inventing the wheel" is important for progress and learning. So for you people who are interested in a React solution for Micromodal, here is something I put together while thinking about how it could work. - https://codesandbox.io/s/modal-d7u9d
As you can tell, it feels very different from the current implementation. If you have ideas on how this could be bettered please feel free to pitch in.
from micromodal.
Related Issues (20)
- Modals closing unexpectedly with any interaction HOT 3
- modal input label is triggering other input fields on the main page HOT 2
- Breaking change in 0.4.9: clicking the container closes the modal HOT 8
- Modal reopens after closing
- hi
- target argument is getting the parent on Safari. OnShow method. HOT 3
- Tab trapping does not work in Safari HOT 1
- onClose event is not triggered when clicking on the modal overlay HOT 7
- Window object doesn't work during gatsby build. HOT 1
- Feature idea: "non-dismissable" option HOT 1
- Esc and focus trap does not work if iframe is inside the modal HOT 3
- Modal closes when selecting a field. HOT 5
- Micromodal js not working on IOS devices HOT 5
- Add option to control whether disable Escape to close modal HOT 3
- Slick Slider HOT 1
- Nested modals don't close properly via JS api HOT 1
- Is this still being maintained? HOT 3
- Click Function For Element inside Modal Generates Error HOT 1
- "awaitCloseAnimation: true" does not sum the duration of all animations.
- Hard to intigrate in HTML HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micromodal.