Skip to content

PDanPDan BlogAbout Web develoment

Tricks and trips to solve frequent problems

Photo of PDan

A headless combobox for Vue 3

How the Vue combobox keeps its state in one machine, wires ARIA with prop bags, handles keys in one place, and positions the popup with CSS anchors...

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