Semantic-UI icon indicating copy to clipboard operation
Semantic-UI copied to clipboard

Visible error messages are not shown at forms

Open anestv opened this issue 11 years ago • 4 comments

The same happens with success, warning and info messages. jsfiddle

The .ui.form .error.message { display: none } css rule has more importance than .ui.message.visible { display: block }

I don't know if this is intended or not, but I think .visible messages should always be visible

anestv avatar Jan 02 '15 12:01 anestv

Yeah. I think the counterpoint is using !important; confuses people who try to hide with $('.message').hide(); and find that it doesn't work because the framework css has precedence.

Most likely the "best" solution is something like what's done with button loading. Maxing out the specificity without using important,

.ui.visible.visible.visible.visible.visible.message { 
  display: block;
}

If only there was a way to override css selector specificity ala z-index for z-ordering...

jlukic avatar Jan 02 '15 19:01 jlukic

Fixed in next

jlukic avatar Jan 05 '15 22:01 jlukic

someting interesting

faller avatar Jan 06 '15 01:01 faller

Released a couple hours ago in 1.6.0

jlukic avatar Jan 06 '15 02:01 jlukic