-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
12.0 Release 🎁 #1317
Comments
Also need to bump to flow 0.99+ |
Some wins of using the alpha:
Do not use if:
I am really interested to find an example of dragging an item in an iframe. Right now I think our code will not work with it - so I am keen to get an example |
@alexreardon — Updated to this on our dev branch yesterday, all working great 👌 |
@alexreardon — we've just seen the latest tweet showing off all your hard work — just incredible! So great to see. However, I just wanted to clarify the exact conditions under which we'll be able to make use of virtualisation. You'll have to forgive me, as I'm only just getting up to speed with the concept of windowing, etc, but it appears that each individual list must have its own scrollable container in order for it to determine which children it can virtualise. Is that correct? Our situation is actually quite different. We have (potentially) anywhere up to 1000 lists, each with a varying amount of items inside them. Each list's height is determined by its contents, and nothing is scrollable apart from the whole document window itself. Having seen the demo in action, I've only just twigged now that this may not be able to solve our performance issues unless we set the lists to a fixed height and allow each one to be individually scrollable. My problem is that this wouldn't work for us, as our lists scale out both horizontally and vertically (think Trello, but with multiple slices of lists). Another thing I'd like to ask is whether virtualisation could be applied to the lists themselves, rather than their contents? If this was possible, we could at least benefit from only rendering ~50 lists at a time... Sorry for the mammoth! Keep up the great work ✌️ |
@alexreardon Is virtualization available in |
|
What we are building is support with existing virtual list solutions. If you can set it up with |
Thanks for clarifying @alexreardon. Is it just |
We plan to also support We will be adding guides and examples for |
Fantastic! Thanks @alexreardon – I'll give the latest v12 alpha release a go later on 👍 |
@alexreardon — I gave |
For |
Trying
Is this just in there for debugging in alpha vers or something? |
Strange. This should be taken care of my our / your bundler. How are you consuming |
|
|
This is just a copy paste of a local file I am working on. But it will be helpful people who are playing with the For most people: you can safely upgrade to
Changes
|
Just checked the storybook preview for v12, looks like the issue that #1394 attempts to address is still present. To repro, open the storybook with IE11 and open |
Thanks @nathanpower. I haven't tackled that one. We won't ship |
It seems the change to <div {...provided.dragHandleProps}>
<DragHandle /> {/* DragHandle icon from @material-ui/core/icons, root element is an svg */}
</div> was working, but after updating to
|
Thanks! Can you try beta.5? |
Same warning with |
Thanks for checking. I’ll resolve this early next week |
@sage911 this should be fixed in |
Yup all fixed, thank you! And thank you for all of your work on this excellent library. |
@alexreardon - Firstly, I'd like to express my appeciation for your work on react-beautiful-dnd, it is awesome :-) Also, apologies if this is not the appropriate place to ask this question. I'd like to ask a question about version 12 of react-beautiful-dnd. Will react-beautiful-dnd support dynamic row heights with react-virtualized? E.g, a virtualised version of https://deploy-preview-1487--react-beautiful-dnd.netlify.com/?path=/story/nested-interative-elements--stress-test ? I've had a look at https://deploy-preview-1487--react-beautiful-dnd.netlify.com/?path=/story/virtual-react-virtualized--window-list, but the items are of fixed height. I'm using react-virtualized 9.21.1 to render a list of interactive elements using AutoSizer, List, CellMeasurer and WindowScroller, similar to https://github.com/bvaughn/tweets/blob/37d0139736346db16b9681d5b859a4e127964518/src/components/TweetList.js#L126-L132 I've checked out https://github.com/atlassian/react-beautiful-dnd/blob/dev/docs/patterns/virtual-lists.md, and the samples at https://github.com/atlassian/react-beautiful-dnd/tree/dev/stories/src/virtual/react-virtualized, but no luck as yet. Btw, I updated to react-beautiful-dnd@12.0.0-beta.9 this morning. |
Seems to be fixed now, thanks! 👍 |
Boya! @nathanpower |
The plan is to ship tomorrow 🤫 |
Shipped! Thanks so much everyone for your input and support https://github.com/atlassian/react-beautiful-dnd/releases/tag/v12.0.0 |
@richard-buckingham were you able to find an answer/fix to your CellMeasurer issue? Having a similar problem |
Want to play with the beta? See #1317 (comment)
I am using this issue as a linking point for things going out in
12.0
Virutal list project
The text was updated successfully, but these errors were encountered: