angular-ui/ui-grid

UI Grid editor: losing focus on switch window

Open

#7,086 建立於 2020年6月6日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)JavaScript (2,496 fork)batch import
a11yhelp wanted

倉庫指標

Star
 (5,395 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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..

貢獻者指南