javascript - Horizontal Overflow with slideDown() / slideUp() -


i trying use slideup() / slidedown() animate revelation of page element have had trouble relatively positioned icon negative (outside element) placement. while these animations execute sets overflow hidden rendering icon cut in half until animation completes.

the jsfiddle here illustrates issue. need horizontal overflow of blue box visible during whole execution of animation instead of magically appearing @ end. need vertical overflow remain hidden.

i've tried amending,

$(this).parent().find("div:eq(0)").slidedown(1000).css("overflow-x", "visible"); 

but seems ignored , using,

$(this).parent().find("div:eq(0)").slidedown(1000).css("overflow", "visible"); 

also makes vertical overflow visible.

any insight appreciated.

just wrap divs : div.clickevent inside other div.hide

<div class="hide"><div class="clickevent">  ...  </div> 

https://jsfiddle.net/h9gtzp6f/37/


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

html - Outlook 2010 Anchor (url/address/link) -

android - How to create dynamically Fragment pager adapter -