Jump to content
Sign in to follow this  

toggle switch in Firefox browser not working

Recommended Posts

It seems the good looking toggle switch component not working with the firefox desktop versions.

Chrome, Opera, Brave no problem and even the Firefox Android also ok, just the desktop Firefox(32 and 64 bit version also, windows/Linux same wrong result).

Probably inside the component the "checked:=not(checked)"  procedure happening to fast.


//anyway with this additional code the toggle switch component give a little bit better user experience

procedure TForm1.W3ToggleSwitch1Click(Sender: TObject);


Share this post

Link to post
Share on other sites

Thank you @kockas

This is now fixed in the Development-channel. There were a few problems:

  • The animation code did not work in Firefox
  • The value of checked was changed only in the end of the animation. Now it changes before the animation.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this