mattermost / dynamic-virtualized-list Goto Github PK
View Code? Open in Web Editor NEWDynamic virtualized list
License: MIT License
Dynamic virtualized list
License: MIT License
Hello.
I am bulding a chat app, and we have another resizeable container above the chat messages list.
Messages list is DynamicSizeList
wrapped in AutoSizer
(react-virtualized-auto-sizer).
So when I resize the top container, the messages list gets scrolled up about 100%.
I can't see what I can do about it.
Can't make a reproducible example at the moment.
Currently DynamicSizeList
assumes we want to render the first item at the bottom (L759).
This makes it cumbersome for lists that should display the first item at the top, since we need to reverse the items prior to feeding them to the list (see mattermost/mattermost-webapp#8350).
I would like to propose adding a direction: upwards|downwards
or maybe order: asc|desc
prop to handle both cases.
Hi,
I'm working on migrating a portion of the Mattermost-webapp to TypeScript, in this issue: mattermost/mattermost#17289 I ran into a challenge where the component dynamic-virtualized-list lacks Type definitions as it is written in Flow and JavaScript.
Options to accomplish TypeScript support would be:
npm install -D @types/dynamic-virtualized-list
https://www.npmjs.com/package/dynamic-virtualized-list
Can you comment on the issues?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.