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

贡献者指南