Skip to content

PDanPDan BlogAbout Web develoment

Tricks and trips to solve frequent problems

Photo of PDan

A headless combobox for Vue 3

Notes from building a renderless combobox with one state machine, ARIA prop bags, keyboard handling, and native popover positioning.

vuejavascripttypescripta11y
by
PDan

Virtual scrolling past the browser scroll limit

How the library maps a 10-million-pixel scroll range onto virtual coordinates, and why wheel and pointer input need their own handling.

vueperformancejavascripttypescript
by
PDan

Rendering Mermaid diagrams in VS Code without Mermaid.js

How the extension renders .mmd files and fenced mermaid blocks with Pele, and why the Markdown path needs two phases.

vscodemermaidtypescriptmarkdown
by
PDan