Open benct opened 2 years ago
Fabric CSS v1.1.1 fixes this issue. https://assets.finn.no/pkg/@fabric-ds/css/1.1.1/fabric.min.css
So long as you are doing your builds using the import map https://assets.finn.no/map/fabric/v2 in elk.json then you should be good to go.
Double check that https://assets.finn.no/pkg/@fabric-ds/css/v1/fabric.min.css
and https://assets.finn.no/pkg/@fabric-ds/css/1.1.1/fabric.min.css
are being loaded in the network tab when you run your apps.
Great, it definitely works a lot better now 🙂 but as @benja mentioned here, some issues with onChange are still present.
We've discussed this a bit more and would very much like to take a slight step back to align the implementations between React,Vue,Custom elements. How desperate are you for these fixes @benct ?
It would be good to have it fixed for the release of our new flight frontend (probably after easter). But it might not be a showstopper.
Both slider components (regular and range) have some problems when dragging the slider. They seems to call onChange when they are not supposed to (should only be called on drag end(?)).
This behaviour is present in the examples on https://react.fabric-ds.io/slider too, not just in our implementation.