Giter Club home page Giter Club logo

Comments (6)

nkbt avatar nkbt commented on August 17, 2024

Can you please check with react-collapse@3? Should not disappear as far as
I know

from react-collapse.

fbgrecojr avatar fbgrecojr commented on August 17, 2024

I am still getting the save behavior in v3.2.0. Before I was using v2.3.3

from react-collapse.

fbgrecojr avatar fbgrecojr commented on August 17, 2024

Alright so I was trying some things and I set keepCollapsedContent={true} and now I have mixed results. Sometimes it works like I want it to and sometimes it dosen't. Here's a long 18 second GIF: the first time it doesn't work but after a refresh it works like I want it to.

It seems to work seamlessly in Safari (did about 10 refreshes) but not seamlessly in Chrome (the gif below is in Chrome)

Safari: 9.1.3 (works perfectly)

ezgif com-video-to-gif 3

Chrome version: 53.0.2785.143

ezgif com-video-to-gif 4

Now I have to idea what keepCollapsedContent does under the hood that would make it work sometimes. Is there documentation for this project?

By the way, AWESOME PROJECT!

from react-collapse.

nkbt avatar nkbt commented on August 17, 2024

Check the readme on master branch (default is 2.x, so you need to switch
it). It has all the most recent docs

Cheers 🍻

from react-collapse.

fbgrecojr avatar fbgrecojr commented on August 17, 2024

Any comment on the difference in the collapse animation between the browsers?

from react-collapse.

nkbt avatar nkbt commented on August 17, 2024

I've never experienced any so far. Can get through your examples in detail,
away from my laptop now.

Usually diff comes from browsers dealing differently with paddings/margins
and other height-related styles. I try to never use any margins/paddings in
collapse-related elements (and sometimes children) and it works out well

from react-collapse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.