Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] overflow hidden not working in webkit as it works in firefox/IE

  • This topic is empty.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #206348
    yadwinder
    Participant

    Hello Guys,

    please help me to fix this weird issue. please visit my demo page:

    http://html5coder.net/tinycircleslider/

    I worked around a circle slider give a new look as I did at my link.

    I have an issue related to overflow hidden in webkit browsers-chrome/safari.

    I’m able to click only on Central, trending, deals, TV Shows. but not the others properly due to overflow of image slides.

    Thanks,
    Yadi

    #206351
    yadwinder
    Participant

    thanks for reply. but now you can see that image links are not working due to low z-index than parent element.

    #206353
    yadwinder
    Participant

    please check now.

    if I use low z-index for .viewport, all circular link works, but images href doesn’t. because this way outer circle has higer z-index.

    #206356
    yadwinder
    Participant

    No, its not working.please try to make z-index like 1000, then image links will not work. images are pointing to another link.

    #206358
    yadwinder
    Participant

    how t I edit and share your codepen with you?

    #206360
    yadwinder
    Participant

    I added links to image, and increased z-index. Now you can see the issue while you try to click on CHANNELS, slider will not work due to overflow of inner image circle.

    http://codepen.io/yadwinderpalsingh/pen/dorewO

    #206362
    yadwinder
    Participant

    let me know you that actual working:

    slider outer circle links are set to change image slide.

    but an image links to open a new page/alert.

    Now, I set .viewport z-index to 0. image links are working fine this way. but not able to change slides by clicking CHANNELS on outer circle due to overflow of viewport.

    you got my point now?

    http://codepen.io/yadwinderpalsingh/pen/dorewO

    #206367
    Shikkediel
    Participant

    I notice it as well (Windows 7) but I think you could solve it by adding pointer-events: none to the unsorted list.

    Edit – sorry, never mind that since you’d need them for the link…

    #206374
    Shikkediel
    Participant

    Misfire again… it’s pretty odd.

    The trouble starts at the list item, .viewport itself is not ‘leaking’ pointer events outside the border-radius.

    #206381
    yadwinder
    Participant

    Hello guys,

    still not found any fix for this. I wasted my last full day on this. please find something solid and tricky to fix this.

    I think it is working fine for MAC users @Atelierbram, but not for windows users and even its not working on iphones.

    #206382
    Shikkediel
    Participant

    Changing the following will make it work as expected :

    • Giving .overview relative positioning
    • Adding border-radius: 50% to li and img
    • Removing display: block from img

    I think it’s a remnant of a long lasting bug…

    #206383
    yadwinder
    Participant

    @Shikkediel

    mind-blowing! you saved my day. It works fine for me.

    thanks a lot.

    #206386
    Shikkediel
    Participant

    No problem, it was too tempting to not give up on it. Such a neat design doesn’t deserve a browser glitch. Very nice work.

    #206411
    Shikkediel
    Participant

    I wouldn’t recommend anyone to add a slider to their page but I’ll make an exception for this one.

    B-)

Viewing 14 posts - 1 through 14 (of 14 total)
  • The forum ‘CSS’ is closed to new topics and replies.