Streaming live at 10am (PST)

Latent values in setters upon remove / reset - style values are not cleared


#1

LATENT VALUES IN SETTERS UPON REMOVE / RESET - VALUES ARE NOT CLEARED
This may be epically-destructive to undo? Semi non-destructive elsewhere?
Could this semi-benign latent value bug described below be the primary culprit for randomness people are experiencing in the undo. Those variable values persist in most cases and can be invoked / acted upon. They are definitely not clearing unless a user behavior triggers them to. If that is the case that they persist, how can they not adversely affect and trash the undo sequence leaving a trail of hiccups here and there?

DESCRIPTION:
This bug appears any time a user elects to remove a style property associated with a class.


press the button to Remove this style


the result generates a latent value (the value captured is expressed as the runtime pixel equivalent, not the value type of the original, unless the runtime attribute in css is in px or hex for color, etc)

This latent value bug converts or captures numeric values to a runtime value type and leaves that conversion in the numeric field within the setter. So, the latent value translates/converts the value of VW, VH, EM, REM, and % to pixels rather than just displaying the default or the inherited value type that should be displayed upon removal (very confusing). The latency is benign if you select some other object as doing so will clear the field (no idea if this actually clears the var or if it persists). It appears that it gets flushed upon deselecting/selecting new object purging the latent value.

If you attempt to drag, nudge or keyboard nudge any of the setter values that still display the latent ghost pixel value, the value iterates from that latent runtime value rather than the null, reset default or inherited value that should be the basis.

RUNNING LIST OF AFFECTED PROPERTIES:
I will update / add to this list as I encounter the issues and add screencaps

  • padding (runtime px)
  • margins (runtime px)

  • background color ( last used value hex or rgba )


Webflow acting weird
Default property values don't visibly reset after removing styles
"Removing the style" for Bottom Margin on Form Wrapper visually displays "0px" when it is really "15px"
#2

thanks for the VERY detailed bug report. We'll look into this shortly :smile:


#3

Sorry if that is crazy obsessive. (emphasis on crazy) :smile: One of the apps I work with requires ridiculous documentation of what you observe and is heavy on steps and context - habit.

Some of this almost feels purposeful or intentional, like the color value. The last color used is helpful / useful and feels intuitive.


#4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.


#5

#6

When I style navbar's preset elements (e.g. navlinks), their preset settings are not shown correctly - e.g. navlinks have some preset paddings, but when I add a class to a navlink, I see default padding values of zero.


#7

Can you please share your public share link with us? Thanks ! :sunglasses:


#8

Here's a gif:

As you can see, after deleting the manually set style, the default style is not reset to 20px, but 0px instead.


#9

Does it then proceed to function on 20px padding although it says 0 px or does it say 0 px and function as 0 px in the designer?

Tell me if this doesn't make sense. :wink:


#10

It proceeds to function on 20px padding although it says 0 px .


#11

Hi @uzzer, could you also help to share, what browser is being used and what version?

Also, if you could inform what operating system is being used and what version?

Thanks in advance.


#12

Win 7, Chrome 51

Here's the public share link: https://preview.webflow.com/preview/railwayeng-org?preview=071682bb798fe27909becc127c397325


#14

Hi @uzzer, thanks for the info, this does not look browser related, I have been able to reproduce this and I have filed a bug about this. As soon as there is an update, I will notify here on the post.

Thanks for reporting this!


#15

Thanks for the follow-up :slight_smile:


#16

Hi @uzzer, thanks for your patience. After taking a look at this bug, it appears that the fix for this is not coming in the short term.

This means, that until the behavior of this is changed, you will need to be aware that resetting the style will not pickup the default link padding.

When there is an update to this, I will post back the info. Thanks!


#18

@webflow, @PixelGeek, @cyberdave, @Waldo Why does a Form Wrapper have a default bottom margin of 15px ?

You can only see the value if you style the Form Wrapper.

I would prefer the default being 0 (ZERO)... like all the other margins for the Form Wrapper.

If I change the bottom margin to any other number
then remove the style... the value visually changes to 0.

If I exit and reload the project... the bottom margin reverts back to 15px.


#19

Hey @Revolution thank you so much for pointing this out, I am looking into this right now and will let you know right away as soon as I have more information.


#20

Hey @Revolution do you have a site where the form wrapper margin reverts back to 15px after you've made the change and the site has saved? I was unable to reproduce this issue on my end. :confused:

Once I made the change, I made sure that the site had saved, then exited the designer and came back and the margin was still at 0px. Are you seeing different behavior on your side?


#21

Here you go.

http://quick.as/PkXVTz0ld


#22

Hey @Revolution I see what you're referring to now, thank you very much for sharing the screen share. Once you click to remove the styles on the margin setting after it was set to 0px, then it says 0px even though it should be changed back to 15px as that was the original default style.

Thank you very much, I will let you know as soon as I have an update on this issue! Cheers!