Comments (5)
Hey @sashafklein! Sorry to hear the trouble you're having here. If you could spin up a sample project it would help me take a look at this more quickly and understand what the issues are here.
from gatsby-plugin-modal-routing.
@sashafklein Have you had any success with getting this package to work with TransitionLink? I am trying to do the same.
@lsirivong Are there any updates to this issue? Examples or clarifications?
from gatsby-plugin-modal-routing.
@lsirivong -- So sorry! I guess my notifications were off. I ended up moving in another direction, and didn't make the modals navigable, so didn't figure this out.
from gatsby-plugin-modal-routing.
hey @lsirivong, @mhigley -- hope youβre doing well in this crazy times.
i'm also running into this.
i prepared this codesandbox
the link-component can be found in '../components/PostListing'
(line 29)
when removing "gatsby-plugin-transition-link",
from gatsby-config.js
and restarting the sandbox the modal works as exspected.
maybe you have a hint to solve this interference. thanks!
EDIT: Here is a more simple example codesandbox, based on gatsby-starter.
from gatsby-plugin-modal-routing.
@lucasdon thank you!
Frankly, I'm not spending much time working on gatsby sites so I'm not able to dig into this. What I can say is the this plugin uses link state to signal that the modal should be rendered. I noticed that gatsby-plugin-transition-link calls navigate
manually it some places, so maybe the state is getting lost somehow.
Happy to help shepherd PRs or advise anyone who's looking into the issue if it would be helpful, but I'm probably not going to be able to dig into this deeply anytime soon.
from gatsby-plugin-modal-routing.
Related Issues (20)
- Animate on closing modal HOT 3
- Hooks not working inside modal - Most likely breaks my Context.Provider HOT 1
- Open specific route always in modal HOT 1
- Is there a way to navigate to next/prev modals as in the gatsbygram example? HOT 1
- Provide an example for using custom CSS classes HOT 2
- Background scrolls while modal is open HOT 2
- Different Result on gatsby develop vs. build HOT 4
- Page is not rendered as modal when refreshed. HOT 2
- Transition between modals HOT 3
- Needs to merge PR to fix location accessing HOT 9
- No Way to Style Modal or Use a Different Modal HOT 16
- Code Splitting
- Needs an update for supporting gatsby v3 HOT 2
- Close To with parameters
- Always `false` + different props than docs HOT 8
- Has anyone tested this in react testing library?
- A context consumer was rendered with multiple children error HOT 1
- Support for Gatsby 4.0 HOT 8
- I faced same problem, how can we use this plugin within Gatsby v4?
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 gatsby-plugin-modal-routing.