Change record status: 
Project: 
Introduced in branch: 
8.x-5.x
Introduced in version: 
8.x-5.3-beta2
Description: 

Previously, Drupal's #states only hide elements after the page and JavaScript has been loaded. This behavior causes hidden elements to be displayed as the page load and then quickly hidden.

Conditionally hidden elements are no longer visible when a webform is loading. Conditionally hidden webform elements now have the '.js-webform-states-hidden' class added to the element's wrapper which hides the element as the page is being loaded.

Impacts: 
Site builders, administrators, editors
Themers