react-flickity-component
                                
                                 react-flickity-component copied to clipboard
                                
                                    react-flickity-component copied to clipboard
                            
                            
                            
                        Fullscreen not working
This might not be related to this library, but as the flickity-fullscreen package hasn't been updated for a year, just decided to post here.
We are using flickity in one of our projects, and added the package for fullscreen flickity-fullscreen, it had been working for a while, but like a month ago it suddenly stopped working, and when we call
this.flkty.toggleFullscreen();
it returns:
TypeError: _this2.flkty.toggleFullscreen is not a function
As I said, it worked before, and we never changed our code
this.flkty.previous(); or this.flkty.next(); still work smoothly.
Any clues?
The last release happened two months ago so I doubt it was our issue. Nevertheless if you could provide a minimal sandbox to reproduce your issue I'm happy to help you debug.
hi, any solution about this?
@MontoyaAndres can u provide a sandbox?
Free feel to reopen with a sandbox link
Hi not sure if a solution to this has been discovered but the reason why this wasn't working is because the toggleFullscreen method has been removed. A similar effect can be achieved using the resize method