tom-select icon indicating copy to clipboard operation
tom-select copied to clipboard

[Bug]: sass compiler exited with error 3221225725 when $select-width-item-border variable is 0

Open stormitornado opened this issue 6 months ago • 0 comments

Bug description

In my 11ty project I import scss files from dist/scss/tom-select.bootstrap5.scss and compile with dart-sass. I found when $select-width-item-border is 0 compiler throws error and exit. This error occurs when you try to assign $padding-top: calc( #{$select-padding-y} - #{$select-padding-item-y} - #{$select-width-item-border}); and $padding-bottom: calc( #{$select-padding-y} - #{$select-padding-item-y} - #{$select-margin-item-y} - #{$select-width-item-border}); in _items.scss and $select-width-item-border is 0. I propose you to see the implementation of add sass-function in bootstrap 5.3, they resolved the same problem.

Expected behavior

successful compilation

Steps to reproduce

just import dist/scss/tom-select.bootstrap5.scss in any project and compile with dart-sass

Additional context

stormitornado avatar Jan 04 '24 19:01 stormitornado