Thomas

Results 29 comments of Thomas

> if anybody is curious for a shim `d.ts` file: > > ```ts > declare module 'v-idle' { > import { PluginObject } from 'vue'; > > const Vidle: PluginObject;...

I've added a `v-idle.d.ts` file to my project and referenced it in the `tsconfig.json`, now it does not throw an error regarding types any more. I do however get the...

The shortcut examples on [flutter.dev](https://api.flutter.dev/flutter/widgets/Shortcuts-class.html) also don't seem to work for me properly. If I misunderstood the code example, or there's a workaround, please let me know how I can...

Hi @danagbemava-nc This solution makes it so the `Shortcuts` are also triggered when the button was last pressed, but as soon as the user clicks on the background or anywhere...

I added a second, simplified example [here](https://dartpad.dev/?id=c272cd567773910eda300d8aa6f67215). It showcases the same problem but with a single TextField which should be focused when [ctrl] + [f] is pressed. This example is...

@danagbemava-nc Yes the message is printed twice wherever I run it. I also figured it had something to do with the focus, but wrapping the whole app with a `Focus`...

The example you gave seems to work fine on Linux :+1: But then why does [this](https://dartpad.dev/?id=c272cd567773910eda300d8aa6f67215) not work the same way? And why does it not work on web?

Yes indeed: * When the `Focus.onKey` method is defined, it handles the shortcut, triggers twice and marks it as handled * When `Focus.onKey` is commented out, the shortcut goes up...

That's weird. Here's the latest version of the simplified example: Code sample ```dart import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; void main() { runApp(const SelectSearchApp()); } class SelectSearchApp extends StatefulWidget { const SelectSearchApp({Key?...