Skip to content

Conversation

@arashsheyda
Copy link
Contributor

@arashsheyda arashsheyda commented Oct 25, 2024

this PR adds a smooth toggle animation to the repository issues list.

Screen.Recording.2024-10-24.at.10.24.26.PM.mov

<div id={`repo-${repository.id}`} onClick={() => setIsIssueOpen(!isIssueOpen)}>
<div>
<div id={`repo-${repository.id}`}>
<div onClick={() => setIsIssueOpen(!isIssueOpen)}>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved onClick to this line so the IssuesList will be only closed if user clicked on the top-bar section of repo-item

Copy link
Contributor

@seanmarcia seanmarcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay on this. Thank you so much -- this is awesome :)

@seanmarcia seanmarcia merged commit 0cae4a4 into github:main Dec 12, 2024
@arashsheyda arashsheyda deleted the feat/repo-item-issues-animation branch December 12, 2024 19:54
@arashsheyda
Copy link
Contributor Author

@seanmarcia no worries! glad you think so :)

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