kartik-v / yii2-dynagrid

Turbo charge the Yii 2 GridView with personalized columns, page size, and themes.
http://demos.krajee.com/dynagrid
Other
74 stars 66 forks source link

Dynagrid Floating Header blocks Date Picker #226

Closed jmbantay closed 4 years ago

jmbantay commented 4 years ago

Prerequisites

Steps to reproduce the issue

  1. Create a simple dynagrid with floating headers (using floatHeader and floatOverflowContainer as gridOptions). Add sample rows for trial.
  2. Add a column with datepicker (kartik/date/DatePicker)
  3. Try to open datepicker in row near the header.
  4. Datepicker will appear behind the floating header.

Expected behavior and actual behavior

Expected behavior: Datepicker popup should appear in front of floating header.

Actual behavior: See image: https://ibb.co/7XLvQc3 Datepicker is blocked by the floating header.

I thought of adjusting the z-index of the datepicker, but when I did, the floating header still blocks the datepicker popup. But while scrolling, the line indicating the datepicker appears on top of the floating header (https://ibb.co/7zgxb8c) and the calendar popup (https://ibb.co/3NkDb9f).

Hope you could help me. Let me know if you need more information.

Browsers

Operating System

Libraries

Isolating the problem

jmbantay commented 4 years ago

Fixed the problem. Added 'zIndexOffset' instead of 'style => zindex' to datepicker. should have posted this in the datepicker repo. my bad