0

I have main parent div .objects-wrap which is absolutely positioned and in that I have a table.

Now as the columns increase the horizontal scroll comes in the bottom to parent div .objects-wrap.

Now the issue is in my last td there is bootstrap drop down menu which gets hidden because of the horizontal scroll bar even if there is a z-index:1000 applied to dropdown menu.

The horizontal scroll bar overlaps the dropdown menu What do I do to show the dropdown menu over the scrollbar

Click here to see the JSfiddle for your reference

I hope this explains the scenario and thanks in advance :)

Vincent G
  • 8,547
  • 1
  • 18
  • 36
Ravikiran Bhat
  • 91
  • 1
  • 11

1 Answers1

1

You can remove the overflow-y property here :

.objects-wrap {
  position: absolute;
  overflow: scroll;
  width: 100%;
}

See it here

It will add a vertical scrollbar when you click on the right link, is it ok ?

EDIT

Or you can set a min-height property on it like this

.objects-wrap {
  position: absolute;
  overflow: scroll;
  overflow-y: hidden;
  width: 100%;
  min-height: 300px;
}

EDIT 2

If you wants to not have the vertical scrollbar, you can change the overflow-y property to visible.

However you will have the vertical scrollbar when you click on the right link.

Like this

Vincent G
  • 8,547
  • 1
  • 18
  • 36