Skip to content

bug(Textarea): OnEnterAsync 事件缺少是否按下 Shift 参数 #5609

@bob9307

Description

@bob9307

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

<Textarea OnEnterAsync="OnEnterAsync" UseShiftEnter="true" />

上面文本框按下 Shift+回车也会触发 OnEnterAsync 事件,直接按回车也会触发 OnEnterAsync

Expected Behavior

Shift+回车不触发OnEnterAsync事件
或者,触发的OnEnterAsync事件有其它参数判断用户是否按下了shift

Interactive render mode

Interactive Server (Interactive server-side rendering (interactive SSR) using Blazor Server)

Steps To Reproduce

BlazorTest.zip

Exceptions (if any)

No response

.NET Version

NET8.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions