angular-ui/ui-grid

UI Grid editor: losing focus on switch window

Open

#7,086 opened on Jun 6, 2020

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (2,496 forks)batch import
a11yhelp wanted

Repository metrics

Stars
 (5,395 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi there,

I am not sure it is a bug or not so I am going forward to write it.

I am using

<div class='col-md-12'>
    <div id="journal-grid" ui-grid="journalGrid.options"
        ui-grid-edit
        ui-grid-row-edit
        ui-grid-cellNav
        ui-grid-resize-columns
        ui-grid-auto-resize
        class="grid mt10"></div>
</div>

The ui-grid-edit I think it allows to edit the grid inline. So when I click a cell in the grid it lets me in to the input to edit it. But when I switch window to copy some text and return the previous window where the grid is, the cell that I was editing lost the focus.

Is there a way to keep the focus even when switch the window and return back? Is it a bug or what I am asking is a new feature?

Many thanks..

Contributor guide