Closed MichaelT372 closed 11 months ago
… lists are used
Uses CSS with data attributes to make the label text transparent until it has been processed by the live-currency component.
Bonus: updated SetAttr to account for an error when EventTarget's didn't have a className attribute.
NWF's current experience (flashing brackets): https://support.nwf.org/page/60882/donate/1
NWF with latest ENgrid: (still flashing brackets on frequency change): https://support.nwf.org/page/60882/donate/1?assets=engrid-update-test
NWF with this branch (nothing flashes): https://support.nwf.org/page/60882/donate/1?assets=brackets-fix
Extra NWF page with the [$] removed from the labels to prove this does not introduce a regression when there isn't a live currency in the label https://support.nwf.org/page/60883/donate/1?assets=brackets-fix
… lists are used
Uses CSS with data attributes to make the label text transparent until it has been processed by the live-currency component.
Bonus: updated SetAttr to account for an error when EventTarget's didn't have a className attribute.
NWF's current experience (flashing brackets): https://support.nwf.org/page/60882/donate/1
NWF with latest ENgrid: (still flashing brackets on frequency change): https://support.nwf.org/page/60882/donate/1?assets=engrid-update-test
NWF with this branch (nothing flashes): https://support.nwf.org/page/60882/donate/1?assets=brackets-fix
Extra NWF page with the [$] removed from the labels to prove this does not introduce a regression when there isn't a live currency in the label https://support.nwf.org/page/60883/donate/1?assets=brackets-fix