vue-burger-menu icon indicating copy to clipboard operation
vue-burger-menu copied to clipboard

bm-overlay class does not get applied to body properly

Open stevenkuipers opened this issue 6 years ago • 0 comments
trafficstars

I ran into an issue where my font changed when I would open and close the menu. When the bm-overlay class is added to the body it is a string concatenation, but there is no space in front of bm-overlay so it would concat with the last class I had on body. Using classList instead of className is a beter way to add and remove classes.

className

stevenkuipers avatar Jun 09 '19 14:06 stevenkuipers