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

after clicking enter it's just switching the theme #2891

Closed
rootUJ99 opened this issue Mar 5, 2024 · 3 comments
Closed

after clicking enter it's just switching the theme #2891

rootUJ99 opened this issue Mar 5, 2024 · 3 comments
Labels
closed-duplicate Closed in favor of an existing report

Comments

@rootUJ99
Copy link

rootUJ99 commented Mar 5, 2024

What happened?

while using dartpad latest version whenever I'm pressing enter button it's just changing the theme and not really taking it as return key in editor

Additional info

Browser

Browser: brave

Version: 1.63.165

Machine

Operating system: macOS

Version: 14.2.1

@skylon07
Copy link

skylon07 commented Mar 6, 2024

To add a little bit of info here, I run into this a lot because I hit [Tab] to indent code. It seems the tab keypress isn't being captured by the input field, which causes the browser to cycle through focusing on the elements around the page. Then, because the input field is no longer focused, hitting [Enter], [Space], etc. causes unexpected and jarring behavior. Even if you click out of and back into the input field, the site acts all whacky (is this a flutter bug?).

Workaround:

  • Rapidly smash your spacebar
  • If you really want to be cool, copy-paste indentation
  • If you really really want to be cool, copy-paste from VSCode 😆
  • (And if you want to be the coolest guy ever, just fix this issue for all of us!)

(If you do hit [Tab] accidentally, copy your code, reload, and paste -- the site doesn't save your code automatically at the moment, see #2871)

@skylon07
Copy link

skylon07 commented Mar 6, 2024

And funny enough, I have nearly identical specs -- hello fellow Brave user!

@parlough
Copy link
Member

Thanks for the issue and all of the details! Sorry about the degraded experience here.

I'm going to close this issue as a duplicate of #2852 to consolidate discussion there.

@parlough parlough closed this as not planned Won't fix, can't repro, duplicate, stale Mar 30, 2024
@parlough parlough added the closed-duplicate Closed in favor of an existing report label Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

3 participants