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

Table mouse selection UI/UX #6114

Closed
2 tasks
jodator opened this issue Jan 22, 2020 · 9 comments · Fixed by ckeditor/ckeditor5-table#263
Closed
2 tasks

Table mouse selection UI/UX #6114

jodator opened this issue Jan 22, 2020 · 9 comments · Fixed by ckeditor/ckeditor5-table#263
Assignees
Labels
package:table type:feature This issue reports a feature request (an idea for a new functionality or a missing option).

Comments

@jodator
Copy link
Contributor

jodator commented Jan 22, 2020

📝 Provide a description of the new feature

Requires #6113.

Validate mouse selection indication UI/UIX. The solution used in #6113 is at the POC stage and a nice styling must be used for mouse selection.

This should address:

  • Nice looking (and well blending) styles for selected table cells.
  • Resolving the issue mentioned below by me.

Progress log

ckeditor/ckeditor5-table#257

The PR brings:

Remaining issues


If you'd like to see this feature implemented, add a 👍 reaction to this post.

@jodator jodator added the type:feature This issue reports a feature request (an idea for a new functionality or a missing option). label Jan 22, 2020
@Reinmar Reinmar added this to the nice-to-have milestone Jan 27, 2020
@jodator jodator modified the milestones: nice-to-have, iteration 30 Jan 28, 2020
@jodator
Copy link
Contributor Author

jodator commented Feb 18, 2020

Moved from PR: ckeditor/ckeditor5-table#230 (comment):

Leaving the table with the mouse makes the selection non-fake so you suddenly see text selection. The selection stops working in this case too.

I found out that it is a Chrome issue IMO:

Chrome Firefox
Peek 2020-02-18 12-49 Peek 2020-02-18 12-50

@jodator
Copy link
Contributor Author

jodator commented Feb 20, 2020

Also from a PR: please create proper entries in theme lark (if we'll work on master by then).ckeditor/ckeditor5-table#230 (comment)

@Reinmar
Copy link
Member

Reinmar commented Feb 21, 2020

I found out that it is a Chrome issue IMO:

That's an issue with us moving the real selection to the fake sel container and not blocking mousemoves later on which makes the browser render the selection starting from the fake sel container and ending at your cursor position.

@Reinmar
Copy link
Member

Reinmar commented Feb 21, 2020

DUP with some additional info: #6302.

@Reinmar
Copy link
Member

Reinmar commented Feb 21, 2020

DUP in #6300.

@Reinmar
Copy link
Member

Reinmar commented Feb 21, 2020

May fix #6299.

@Reinmar
Copy link
Member

Reinmar commented Feb 27, 2020

Let's not forget this case (more details):

bug_cke5

@Mgsy
Copy link
Member

Mgsy commented Feb 27, 2020

Safari

📝 Provide detailed reproduction steps (if any)

  1. Try to select multiple cells in Safari.

✔️ Expected result

Cells are selected.

❌ Actual result

Disco 💃

bug_cke5

Reinmar added a commit to ckeditor/ckeditor5-table that referenced this issue Feb 28, 2020
Internal: Improved the look of multi-cell selection. Prevented the selection from starting in the fake selection container. Closes ckeditor/ckeditor5#6114. Closes ckeditor/ckeditor5#6353.
Reinmar added a commit to ckeditor/ckeditor5-theme-lark that referenced this issue Feb 28, 2020
Features: Brought styles for selected table cells (multi-cell selection) (see ckeditor/ckeditor5#6114).
@oleq oleq reopened this Mar 2, 2020
@oleq
Copy link
Member

oleq commented Mar 2, 2020

Let's keep it open for Safari.

@oleq oleq removed their assignment Mar 4, 2020
@Reinmar Reinmar self-assigned this Mar 5, 2020
Reinmar added a commit to ckeditor/ckeditor5-table that referenced this issue Mar 6, 2020
Reinmar added a commit to ckeditor/ckeditor5-theme-lark that referenced this issue Mar 6, 2020
Internal: Improved styles for cell selection. See ckeditor/ckeditor5#6114.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:table type:feature This issue reports a feature request (an idea for a new functionality or a missing option).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants