-
Notifications
You must be signed in to change notification settings - Fork 109
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
multiple views of the same data causes elements to stay hidden #615
Comments
so I should duplicate the lists ? |
You can sync them using a store or any other method but do it on drop, not
while the list is in a temp state during drag
…On Sat, Nov 23, 2024, 10:06 Ben Kuper ***@***.***> wrote:
so I should duplicate the lists ?
my goal is simple, I have a [potentially huge] data structure that is
showing a custom dashboard interface. There is an tree view showing all the
individuals elements of this dashboard, and a canvas where all those
elements are laid out.
The idea is that I'd like to be able to swap elements in my tree view and
that would reflect automatically on the board view, and vice versa. Ideally
I could even take one from a view and drop it in the other view but that
would be a bonus.
—
Reply to this email directly, view it on GitHub
<#615 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE4OZC4EUCYGMYRHRY2HJ7L2B62F7AVCNFSM6AAAAABSJK3IFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJVGA3DIMZXGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Well my goal is to only use one list, so I'm not syncing anything special, like in the REPL. So you say I should check if it comes from one or the other and not update if it's not the good one ? because right now they have basic behaviour which I though was only used when touching them, but something is happening to the actual list that makes the other view's items go invisible. |
If you're able to show a minimal example of synced views of same data, I think it could be interesting for other people (and I've not seen any other lib do that as well) |
for more context you can check the current build here : Golden Board the clean repo for this is here : https://github.com/Golden-Geek/GoldenBoard |
Hello,
in this very simple REPL, I'm showing two list referencing the same items (the real use case is 2 views of the same data, one tree view and one arranged in layout).
Most manipulations in this example break one list Linked List bug REPL
The text was updated successfully, but these errors were encountered: