Skip to content

fix: FastPR edit button postion#942

Merged
frank-zsy merged 1 commit intohypertrons:masterfrom
wangyantong2000:fix/FastPR-edit-button
Jan 18, 2025
Merged

fix: FastPR edit button postion#942
frank-zsy merged 1 commit intohypertrons:masterfrom
wangyantong2000:fix/FastPR-edit-button

Conversation

@wangyantong2000
Copy link
Collaborator

@wangyantong2000 wangyantong2000 commented Jan 18, 2025

Brief Information

This pull request is in the type of (more info about types):

  • build
  • ci
  • docs
  • feat
  • fix
  • perf
  • refactor
  • test

Related issues (all available keywords):

Details

Modified the position logic of the fastpr button. Modify according to this behavior:

When select the text, the button should stay with the text even when page scrolls. Actually, the button position should follow the text if the page scrolls. When the selected text scroll out of the page, the button should go back to initial position.
When user unselect text, the button should go back to initial position.

iShot_2025-01-18_22.24.03.mp4

Checklist

Others

@frank-zsy
Copy link
Contributor

It looks really great!

@frank-zsy frank-zsy merged commit 4decf0e into hypertrons:master Jan 18, 2025
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.

[Bug] FastPR edit button position behavior

2 participants