adminfaces / admin-template

JSF responsive admin template based on Bootstrap and AdminLTE
https://adminfaces.github.io/docs/latest/#admin_template
MIT License
210 stars 101 forks source link

Datatable not reacting in responsive mode #125

Closed cvetan closed 3 years ago

cvetan commented 6 years ago

When in responsive mode, i can't select row in datatable. And even if i select it, and then go into responsive mode confirm dialog is not shown.

I followed your car-list.xhtml from admin-starter as close to my use case as possible. Those issues do not happen in your admin-starter demo, so i may be doing something wrong. I would appreciate any help.

Also still getting console warnings all aroung application.

17:25:19,801 WARNING [javax.enterprise.resource.webcontainer.jsf.application.view] (default task-98) Unable to save dynamic action with clientId 'j_id2' because the UIComponent cannot be found
17:25:19,801 WARNING [javax.enterprise.resource.webcontainer.jsf.application.view] (default task-98) Unable to save dynamic action with clientId 'j_id3' because the UIComponent cannot be found
17:25:19,801 WARNING [javax.enterprise.resource.webcontainer.jsf.application.view] (default task-98) Unable to save dynamic action with clientId 'j_id4' because the UIComponent cannot be found

Also getting some weird issues, like i select row in datatable. And if i for instance drag browser window to move it, the selected row, becomes blank, white. I click anywhere in UI, it returns.

My example page is on: https://github.com/cvetan/bookstore/blob/master/src/BookstoreWEB/src/main/webapp/admin/admin-list.xhtml

rmpestano commented 6 years ago

Hi, does it works with other themes like omega for example?

Any javascript error?

At first glance your code looks ok, when I find some time I'll try to run/debug it.

cvetan commented 6 years ago

This is what i get when i somehow select row in responsive mode, and try to click delete, which should fire confirm dialog from the end of page. This is javascript console error:

This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://developer.mozilla.org/docs/Mozilla/Performance/ScrollLinkedEffects for further details and to join the discussion on related tools and features!

I haven't tried other themes. Isn't omega premium theme?

update I've set omega theme, but whole ui falls apart then. And the confirm dialog still doesn't appear in responsive mode. One more thing I noticed, console warnings from wildfly appear when i select row in datatable. Three warnings at once. About dynamic action with clientId.