paris-branch / dancelor

A chancelor for Scottish country dance musicians
https://dancelor.org
0 stars 0 forks source link

The new search bar flickers #253

Closed Niols closed 10 months ago

Niols commented 10 months ago

This nails down to the use of S.from' [] p. This is a signal that holds value [] until Lwt promise p resolves and then holds the value returned by p. What I would want instead is a signal that keeps its previous value until Lwt promise p resolves and then holds the value returned by p. This is slighlty different. In the current situation, the signal goes back to [] every time before getting its new value, causing the flicker.