bulma-switch icon indicating copy to clipboard operation
bulma-switch copied to clipboard

Bug display

Open Devlop-er opened this issue 5 years ago • 28 comments

Hi I know an issue has been opened and closed already but I get the same bug,

The stylesheet is linked and here is my code :

<div class="field"> <input id="switchRoundedDefault" type="checkbox" name="switchRoundedDefault" class="switch is-rounded" checked="checked"> <label for="switchRoundedDefault">Switch rounded default</label> </div>

What's the problem thanks ^^

Capture d’écran 2019-03-29 à 17 50 11

Devlop-er avatar Mar 29 '19 16:03 Devlop-er

Hi,

On which browser are you working ?

Wikiki avatar Mar 30 '19 09:03 Wikiki

I'm using Chrome(latest version)

Devlop-er avatar Mar 30 '19 22:03 Devlop-er

Same issue

<div class="field">
  <input id="show_identifiers" type="checkbox" name="show_identifiers" class="switch is-rtl is-rounded">
  <label for="show_identifiers">Show Identifiers</label>
</div>

cwise avatar Apr 01 '19 13:04 cwise

Same thing here, FWIW. Just downloaded bulma-switch, using bulma v0.7.4 and Chrome v73.

ddreier avatar Apr 04 '19 23:04 ddreier

I'll have a look on it and I'll keep you in touch.

Wikiki avatar Apr 05 '19 14:04 Wikiki

Can confirm, using Firefox 66.0.3 (64bit) and bulma 0.7.4

campZero avatar Apr 16 '19 14:04 campZero

Same issue here on Chrome

LucentDread avatar Apr 16 '19 19:04 LucentDread

I resolved it by renaming the .min.css file to .css. Don't know why though.

LucentDread avatar Apr 16 '19 20:04 LucentDread

same problem here, anyone figured it out? I used both Chrome and Safari

alevv avatar Apr 26 '19 17:04 alevv

Same problem. Chrome 74.0.3729.108 (Build oficial) (64 bits)

okas avatar Apr 28 '19 21:04 okas

same problem. fixed it this way.

index.sass L14:L16

$paddle-height: calc($switch-height - ($switch-paddle-offset * 2))
$paddle-width: calc($switch-height - ($switch-paddle-offset * 2))
$paddle-active-offest: cacl($switch-width - $paddle-width - ($switch-paddle-offset * 1.5))

$paddle-height: $switch-height - ($switch-paddle-offset * 2)
$paddle-width: $switch-height - ($switch-paddle-offset * 2)
$paddle-active-offest: $switch-width - $paddle-width - ($switch-paddle-offset * 1.5)

'cacl'...:open_mouth:

solomon77 avatar May 12 '19 16:05 solomon77

Also have the same error

image

On Bulma 0.7.4

JollyGrin avatar May 12 '19 20:05 JollyGrin

Just submitted the #28 with fix from the mistyped cacl word

murilobd avatar May 13 '19 14:05 murilobd

Hi,

Thanks @murilobd it's merged. I'll update npm before the end of the week

Wikiki avatar May 13 '19 14:05 Wikiki

I am still facing the issue on Bulma 0.7.5. I got the minified file from master branch dist folder. image

gauravat16 avatar Jun 14 '19 07:06 gauravat16

Hi,

I'm using Bulma 0.7.5 and I'm facing problems in displaying the switch button correctly. For some reason I can see warnings at label::after in my inspector:

top: .75rem-calc($switch-height - ($switch-paddle-offset * 2))/2;
width: calc($switch-height - ($switch-paddle-offset * 2));
height: calc($switch-height - ($switch-paddle-offset * 2));

They're all striked through, so the sliding button won't show up. Demo site is working pretty well. It seems that the SASS file is not properly compiled to CSS. I investigates the original SASS file, for some reason I can't see the corresponding lines ...

Any ideas why?

Many thanks in advance, regards, Thomas

thmsklngr avatar Jul 01 '19 11:07 thmsklngr

Same problem - latest versions of Chrome, bulma and npm - and switches just switch the color, without that nice animation :)

BarGillNVLab avatar Jul 03 '19 21:07 BarGillNVLab

same problem. fixed it this way.

index.sass L14:L16

$paddle-height: calc($switch-height - ($switch-paddle-offset * 2))
$paddle-width: calc($switch-height - ($switch-paddle-offset * 2))
$paddle-active-offest: cacl($switch-width - $paddle-width - ($switch-paddle-offset * 1.5))

$paddle-height: $switch-height - ($switch-paddle-offset * 2)
$paddle-width: $switch-height - ($switch-paddle-offset * 2)
$paddle-active-offest: $switch-width - $paddle-width - ($switch-paddle-offset * 1.5)

'cacl'...

Could you explaion a little bit more? Thanks in advance Efi

BarGillNVLab avatar Jul 03 '19 21:07 BarGillNVLab

Broken for me on latest versions of Chrome and Firefox (Win10) too! Bulma 0.74.

julio-gorge avatar Jul 04 '19 21:07 julio-gorge

Yeah, I have the same issue here. image

MakRatanakKh avatar Jul 15 '19 03:07 MakRatanakKh

Was using bulma-extensions and had the same issue, "solved" by using the individual bulma-switch package found here: bulma-switch.

Seems there is a little version mismatch between the bundled extensions and the individual component.

Belgian93 avatar Jul 15 '19 09:07 Belgian93

image same here. Latest Google chrome, I tried both bulma-switch.min.css compiled form this repo and installed via npm (both compiled css files are different). Both way gives this view

zhukovsergei avatar Sep 30 '19 12:09 zhukovsergei

Same problem here: Chrome 78 and Bulma 0.8.0. Workaround: Use earlier version: https://github.com/Wikiki/bulma-switch/blob/8c20fa23fbc697d70a2e3d886c872a328afab202/dist/css/bulma-switch.min.css

Nonononoki avatar Dec 29 '19 19:12 Nonononoki

Was using bulma-extensions and had the same issue, "solved" by using the individual bulma-switch package found here: bulma-switch.

Seems there is a little version mismatch between the bundled extensions and the individual component.

That also worked for me. Using the bulma-extensions package resulted in the error described here.

fspring avatar Apr 22 '20 14:04 fspring

Thanks for the PR - had this issue as well today.

iplanwebsites avatar Sep 17 '20 22:09 iplanwebsites

Same problem here: Chrome 78 and Bulma 0.8.0. Workaround: Use earlier version: https://github.com/Wikiki/bulma-switch/blob/8c20fa23fbc697d70a2e3d886c872a328afab202/dist/css/bulma-switch.min.css

This resolved it for me!

faroukfaiz10 avatar Dec 09 '20 12:12 faroukfaiz10

Same problem here: Chrome 78 and Bulma 0.8.0. Workaround: Use earlier version: https://github.com/Wikiki/bulma-switch/blob/8c20fa23fbc697d70a2e3d886c872a328afab202/dist/css/bulma-switch.min.css

Also work for me

greenhost87 avatar Mar 03 '21 10:03 greenhost87

The problem here is that. Whoever did run the last build for bulma-switch.min.css made an error of having uncompiled sass in CSS

doc-han avatar Jun 15 '21 06:06 doc-han