Git Product home page Git Product logo

Comments (4)

mckervinc avatar mckervinc commented on May 27, 2024

Ok thanks for the heads up! I'll take a look

from react-fluid-table.

mckervinc avatar mckervinc commented on May 27, 2024

@colemars if I understand your comment correctly, this may be expected behavior. if you resize the width of the window when the row height is not explicitly set, it is possible that a lot less rows will be in the DOM. See here. If you make the window too small, a row that may have been mounted could disappear. For example, say this was the table before resizing:

Screen Shot 2020-09-06 at 1 26 03 PM

and this is the table after shrinking the window horizontally:

Screen Shot 2020-09-06 at 1 26 48 PM

The row with ID = 5 would dismount because it's no longer in the visible window/part of the overscan. if you were to expand the window again, that row would re-mount.

from react-fluid-table.

colemars avatar colemars commented on May 27, 2024

@mckervinc Here's a quick reproduction

https://codesandbox.io/s/tender-mahavira-nuhxm?file=/src/Example.js

Try selecting the checkbox on the top row and then resize the screen.

from react-fluid-table.

mckervinc avatar mckervinc commented on May 27, 2024

@colemars this should be fixed in version 0.4.2. See the code changes here: c4acbe4

from react-fluid-table.

Related Issues (16)

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.