Dani Guardiola

Results 263 comments of Dani Guardiola

In the latest version as of today, the `modifiers` key in `.draggable({ })` (`DraggableOptions`) is not declared in the types, but works as expected in runtime. Seems like there's some...

For those who just want their app to be fullscreen all the time, you can do the following: ```tsx import { render } from "ink"; import { App } from...

@vadimdemedes the reason I create a promise wrapper over write is that I'm relying on top level await to make sure the writes are done before doing the next thing,...

I really need to publish my solution. And if @vadimdemedes agrees I'm still happy to send a PR too.

@warrenfalk it's been a long time and I'm afk at the moment, so I don't remember exactly, but I think it is asynchronous but in callback style and what I...

I will release a package tomorrow to fix this once and for all. Here's a fragment of the README in case you have any questions/feedback: Edit: removed it to reduce...

Reopening the suggestion, awaiting more discussion/support.

Just wanna add as an idea that this could be supported in a simpler way by setting an attribute like `data-pressed` with this special behavior, both for the pointer and...

@diegohaz this state is different enough to grant a different name IMO. For example, there is a situation where `:active` would be... active (haha) and `[data-active]` wouldn't. This might be...

@ivanbanov the problem is that `usePress` stops the propagation of the event and is not compatible with the web platform event APIs. The only sane solution is to not use...