Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paste event is called twice #5045

Open
1 task done
AgentCodeBanks opened this issue Jan 28, 2025 · 0 comments
Open
1 task done

Paste event is called twice #5045

AgentCodeBanks opened this issue Jan 28, 2025 · 0 comments

Comments

@AgentCodeBanks
Copy link

Is there an existing issue for this?

  • I have searched both open/closed issues, no issue already exists.

CefSharp Version

130.1.90

Operating System

Windows 11

Architecture

x64

.Net Version

Net 4.8

Implementation

WPF

Reproduction Steps

Create simple index HTML file with only

<script>
    document.addEventListener('paste', (event) => {
        console.log('Paste event detected!');

    });
</script>

to log the copy paste event on to the console

Expected behavior

when pressing crtl+c - crtl+v the event should just occure once

Actual behavior

the paste event is triggert twice. In my case when i use Blockly with Cefsharp it's create 2 Blocks instead of 1

Regression?

No response

Known Workarounds

Don't know any yet, only disable the copy paste shortcut

Does this problem also occur in the CEF Sample Application

Yes using WPF/OffScreen command line args

Other information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant