Skip to content

Conversation

@ryan953
Copy link
Member

@ryan953 ryan953 commented Jan 10, 2025

No description provided.

@ryan953 ryan953 requested a review from a team January 10, 2025 23:52
@ryan953 ryan953 requested review from a team as code owners January 10, 2025 23:52
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 10, 2025
Comment on lines -1781 to -1785
if (position < top) {
position = position;
} else if (position > top + height) {
if (position > top + height) {
position = index * 24 - height + 24;
} else {
Copy link
Member

Choose a reason for hiding this comment

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

is this expected?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah it's a weird diff.

It was complaining about the statement 'position = position' in the first IF block. So I removed that but then it was an empty block. So I refactored the conditions from if/elseif/else to be if/elseif. The first IF condition got inverted into the new elseif at the bottom.

@ryan953 ryan953 merged commit 0387cb8 into master Jan 13, 2025
44 checks passed
@ryan953 ryan953 deleted the ryan953/eslint-scripts branch January 13, 2025 19:48
@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants