Skip to content

Fix #42 disappearing less show less #44

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

dekatron
Copy link

No description provided.

The show less button dissapears after click show more for the second time. It looks like it was originally planned that there would be a seperate behaviour for explicit and implicit expand and collapse but I can't see that an implicit expand and collapse was ever implemented. As such all open and closes are explicit and the show less button shouldn't be removed unless we want to remove it (in which case it can be done manually in the appication logic)
If we have specified showLess and we have expanded the text we would expect a show less button.
@dekatron
Copy link
Author

Note that I've not updated the version number in the package.json. Didn't want to cause conflicts with other pull requests so you might want to do that after merging if pushing to npm.

@jeffchan
Copy link
Owner

Thanks! I will take a look within the next day.

@dekatron
Copy link
Author

Hi there, any chance this could be reviewed / merged? just looking to clean up some of the forks I have on github.

Cheers

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

Successfully merging this pull request may close these issues.

2 participants