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

fix: selection menu positioning on right half of editor #600

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

zoli
Copy link
Contributor

@zoli zoli commented Nov 21, 2023

part of AppFlowy-IO/AppFlowy#3414.

The problem was presupposing that the editor width equal to the application width. So when there was something like a sidebar in AppFlowy the calculations were going wrong.

There will be still issues with the selection menu because the width is too long. It should get shorter and other items should get access through scroll.
Personally, I prefer a vertical menu rather than a horizontal one.

Copy link

codecov bot commented Nov 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2ece948) 78.87% compared to head (d3102fe) 78.87%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #600   +/-   ##
=======================================
  Coverage   78.87%   78.87%           
=======================================
  Files         289      289           
  Lines       12526    12526           
=======================================
  Hits         9880     9880           
  Misses       2646     2646           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@LucasXu0
Copy link
Collaborator

Personally, I prefer a vertical menu rather than a horizontal one.

Agreed. We should redesign the slash menu on desktop platform.

@LucasXu0 LucasXu0 merged commit 63a1a8d into AppFlowy-IO:main Nov 23, 2023
11 checks passed
q200892907 added a commit to q200892907/appflowy-editor that referenced this pull request Nov 23, 2023
* main:
  fix: floating toolbar position error (AppFlowy-IO#598)
  fix: selection menu positioning on right half of editor (AppFlowy-IO#600)
  feat: show magnifier when dragging the handlers (AppFlowy-IO#601)
  fix: editor cannot scroll when editable is false (AppFlowy-IO#599)
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