nhn / tui.grid

🍞🔡 The Powerful Component to Display and Edit Data. Experience the Ultimate Data Transformer!
http://ui.toast.com/tui-grid/
MIT License
2.42k stars 394 forks source link

ESC while there is focus on the grid, the modal window closes #1880

Open kimbokon2023 opened 1 year ago

kimbokon2023 commented 1 year ago

Describe the bug In the modal window, if you press ESC while there is focus on the grid, the modal window closes, and I wonder how to prevent it from closing.

To Reproduce Steps to reproduce the behavior: Click on 'ESC key'

Expected behavior Modal window does not close when ESC key is pressed on the grid

Screenshots image

ezgif com-optimize

Desktop (please complete the following information):

Additional context In the modal window, if you press ESC while there is focus on the grid, the modal window closes, and I wonder how to prevent it from closing.

If you select a grid in the modal window and press the ESC key, the modal window closes, which is very painful. No matter how much I looked for the data, I couldn't solve it, so I posted it. I need help from someone who knows the solution.

IDKNWHORU commented 1 year ago

@kimbokon2023 This screen seems to use a UI library like Antd or MaterialUI. Is there any way I can try to reproduce it? can you supply codesandbox to running your source code?