We do expose which keyboard keys are being used in our pdnd events. Is that not working for you?
15.02.2026 22:36 β π 2 π 0 π¬ 1 π 0We do expose which keyboard keys are being used in our pdnd events. Is that not working for you?
15.02.2026 22:36 β π 2 π 0 π¬ 1 π 0This is so cool! Well done!
04.02.2026 22:14 β π 2 π 0 π¬ 0 π 0toast component ui and section messages are actually quite similar π€
04.02.2026 02:34 β π 1 π 0 π¬ 0 π 0
Ruminating about dynamic styling in Tailwind - concatenation, Tailwind Merge and data selectors
podcasts.apple.com/us/podcast/d...
Migrating the element sorting to @alexreardon.bsky.social's pragmatic drag and drop π.
- Grid and Flex layouts with gaps will no longer be an issue
- An overlay will show the blueprint of the current drop target
- Your blueprint components won't anymore need to manually mount drag-and-drop handles
Without hover:
28.01.2026 23:57 β π 0 π 0 π¬ 0 π 0
It's a great pattern that clicking on a label for a checkbox will also select the checkbox. However, there is commonly no feedback when hovering over a label that anything will happen when you click.
What if we changed that?
I've gone for a consistent line color (blue) which works on different toast appearances. I still need to tweak the color ramps a bit
28.01.2026 06:04 β π 1 π 0 π¬ 0 π 0
- The default flex-direction for display:flex is row (β horizontal)
- When using flex-direction:row, then justify (ie justify-content) is the same as "justify" in a text editor (β horizontal), so align-items is the cross axis (β΅ vertical)
- When using flex-direction: column it's the reverse
A meme about me finally remembering some CSS details
28.01.2026 00:37 β π 6 π 0 π¬ 2 π 0
HeroUI has an option to do a timer on the background
- It looks nice!
- When you mouseleave the timer doesn't reset
- I think having an animation around the close button makes it clearer what will happen (but subjective)
With the toast entrance / exit animations
21.01.2026 03:01 β π 2 π 0 π¬ 1 π 0Bingo
21.01.2026 02:40 β π 1 π 0 π¬ 0 π 0Unwinding the progress line to communicate that the auto close timer has been reset (+ also changing the color of the line when rewinding)
20.01.2026 21:15 β π 0 π 0 π¬ 2 π 0Yeah, that would be nice
20.01.2026 11:04 β π 0 π 0 π¬ 0 π 0π€ Clearing the outline when hovering over the toast - to communicate the timer is not paused, but is no longer active
20.01.2026 09:31 β π 1 π 0 π¬ 2 π 0
I like the idea of animating around the close button as hopefully it communicates what action will be done when the timer finishes.
I am not sure if it draws too much attention though. I might play with making it more subtle
Playing with making auto dismiss timing more visible for a toast
20.01.2026 09:11 β π 6 π 0 π¬ 1 π 0
Episode 2! podcasts.apple.com/us/podcast/u...
I plan on releasing weekly at this stage and see how I go
First episode: my experiences with the new layering apis
podcasts.apple.com/us/podcast/l...
@adamwathan.com had a similar idea end of last year. Busted my hopes of doing something that I thought was novel π« . His podcast is great - go listen to it!
open.spotify.com/show/0hO74C6...
I can be a perfectionist when it comes to sharing my thoughts, and so far this form has helped me take the pressure of myself. I have four episodes recorded from the end of last year π
18.01.2026 21:30 β π 1 π 0 π¬ 1 π 0
πͺ΄ A new podcast: just me, talking about frontend engineering while walking through the bush
podcasts.apple.com/us/podcast/f...
With pragmatic drag and drop, you can do whatever logic you like in the event callbacks, and you can do whatever drop indication you like too (don't feel limited by our preset ones!)
18.01.2026 00:03 β π 1 π 0 π¬ 0 π 0
You can use 'closest edge' and then make sure your drop indicator is aware of the direction the document is in. That is what our line drop indicator does
github.com/atlassian/pr...
Closest edge is the most flexible. If you look at the code, it doesn't to a whole lot. You are welcome to make your own hitbox code if you want as well!
17.01.2026 23:55 β π 1 π 0 π¬ 0 π 0More nuance if you are interested: www.youtube.com/watch?v=CjGn...
17.01.2026 22:29 β π 1 π 0 π¬ 1 π 0
There are some minor limitations, but generally you will get a good experience on all platforms, including mobile, while only needing to include a tiny amount of code.
Use the platformβ’ π
Depends on what your goals are. Pragmatic drag and drop is optimised around performance and flexibility. You can think of it as roughly jQuery for drag and drop - it gives you a low level toolchain for making working with the browsers built in drag and drop capabilities easy and consistent.
17.01.2026 22:25 β π 1 π 0 π¬ 1 π 0This looks great!
18.12.2025 08:02 β π 0 π 0 π¬ 0 π 0