Skip to content

Commit b847f5e

Browse files
committed
cherry-pick((#36863): chore: do not perform option selection while recording
1 parent 97aab60 commit b847f5e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/injected/src/recorder/recorder.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,9 +425,7 @@ class RecordActionTool implements RecorderTool {
425425

426426
if (target.nodeName === 'SELECT') {
427427
const selectElement = target as HTMLSelectElement;
428-
if (this._actionInProgress(event))
429-
return;
430-
this._performAction({
428+
this._recordAction({
431429
name: 'select',
432430
selector: this._activeModel!.selector,
433431
options: [...selectElement.selectedOptions].map(option => option.value),

0 commit comments

Comments
 (0)