Skip to content
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

'Uncollapsing' issue when manually removing objects #248

Open
jwmaher opened this issue Aug 22, 2016 · 1 comment
Open

'Uncollapsing' issue when manually removing objects #248

jwmaher opened this issue Aug 22, 2016 · 1 comment

Comments

@jwmaher
Copy link

jwmaher commented Aug 22, 2016

Hey there,

I have recently been trying use your library for a situation that it may not of been designed for but has so far worked quite well. I have only come across one issue so far, the 'uncollapsing' of the tokens while manually removing them.

The situation; adding enough tokens for the view to concatenate to +x, then manually removing the tokens that are still visible. The outcome is that the view still displays +x, it is not re-evaluating and un-hiding the hidden spans and adjusting the count number.

Some screenshots of the process

Initial state

Select the first six (calling addObject())

Unselect the still visible tokens (calling removeObject())

Reselect the first three (calling addObject())

As the screenshots show it appears to be some really strange behaviour. Just curious if you have any work-arounds in mind? I have created a project demonstrating the issue here.

Thanks for your help, great library either way.

@mgod
Copy link
Contributor

mgod commented Mar 9, 2019

This is definitely still a bug in 3.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants