Skip to content

Receive focus on context click ? #23

@phansson

Description

@phansson

Why is that a context-click (aka right-click) doesn't fire a focus event?
I'm just asking because I'm not fully aware how the same situation is in other frameworks, such a Swing.

To me there should be a least be an option for a context-click to also trigger a focus event. Not sure if such functionality belongs in the add-on or in the framework.

The consequence of not having the focus change on context-click is that the user gets very confused. "Which row did I actually click?" (surely not the one with the focus border).

On Grid I've currently semi-solved the problem by turning off completely the visual indicator for focus on cells. This I've done via CSS. For reference this works for me:

  // Turn off focus visual indication for grid cells
  .v-grid:focus .v-grid-cell-focused:before {
      display: none;
  }

However this will not solve the problem for those who still (for one reason or another) require the visual indicator for focus.

To solve this usability issue I still believe the best option is to have a context-click trigger a focus event as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions