react-flickity-component icon indicating copy to clipboard operation
react-flickity-component copied to clipboard

Fullscreen not working

Open 0sserc opened this issue 5 years ago • 3 comments

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?

0sserc avatar Dec 18 '19 10:12 0sserc

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.

yaodingyd avatar Dec 23 '19 18:12 yaodingyd

hi, any solution about this?

MontoyaAndres avatar Jan 20 '21 23:01 MontoyaAndres

@MontoyaAndres can u provide a sandbox?

yaodingyd avatar Feb 05 '21 04:02 yaodingyd

Free feel to reopen with a sandbox link

yaodingyd avatar Apr 03 '24 18:04 yaodingyd

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

BharathaanSukumaran avatar Apr 21 '24 17:04 BharathaanSukumaran