Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown gets cropped on empty table. #79

Open
Tracked by #81
akshayraikar1 opened this issue May 4, 2018 · 6 comments
Open
Tracked by #81

Dropdown gets cropped on empty table. #79

akshayraikar1 opened this issue May 4, 2018 · 6 comments

Comments

@akshayraikar1
Copy link

I have 2 issues regarding dropdowns given below,

  1. When there are no rows in the table and if we click on datepicker, the module panel header goes up as shown in image1.
    image1

  2. Also When there are no rows in the table and if we click on the datepicker or the dropdown on the right, it gets cropped below the main div as shown in image2 and image3.

image2
image3

@poojaparasharam
Copy link

Please check this issue.

@tony-shannon
Copy link
Member

tony-shannon commented May 18, 2018

@akshayraikar1 @poojaparasharam

Where do you suggest the problems lie and what idea do you have to fix them please?

If you want to try to fix them locally, you are welcome to submit a Pull Request

@akshayraikar1
Copy link
Author

@tony-shannon
The problem is in the div tag as shown in image 3 in main.html file.
The height does not change dynamically even after the use of auto, but if we set it like 500px or something it works fine. So we wanted to know if you could suggest a better solution other than manually setting with px values.

@tony-shannon
Copy link
Member

@kbeloborodko If you can suggest an approach to @akshayraikar1
thanks

@kbeloborodko
Copy link
Collaborator

Hi, @akshayraikar1 @poojaparasharam

  1. Could you please advise what module / plugin are you using as a basis for your development effort? Is it the generic plugin code that is a boilerplate for the new functionality? The reason I am asking is that I don't recall a page with the datepicker above the records table like shown in your screenshot, Is it your custom implementation?
  2. To provide the best solution for the height issue you mentioned, I need to see the html structure and the styles you have at this point. Most likely the parent div has overflow: hidden property that can be replaced with the following :after statement:
    .parent-div:after { clear: both; content: ""; display: block; }
    CC: @tony-shannon

@poojaparasharam
Copy link

poojaparasharam commented Jun 5, 2018

HI,

Using same pulsetile source , but in page-wrapper style class is hiding the dropdown. Tried putting the style that you mentioned above still it's not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants