Merge pull request #35927 from iamejaaz/sidebar-title-ui
fix(listView): pagination visible on scroll
This commit is contained in:
commit
73383aee62
1 changed files with 4 additions and 1 deletions
|
|
@ -435,7 +435,10 @@ frappe.views.BaseList = class BaseList {
|
|||
this.$result[0].style.removeProperty("height");
|
||||
// place it at the footer of the page
|
||||
|
||||
const resultContainerHeight = window.innerHeight - this.$paging_area.get(0).offsetHeight;
|
||||
let resultContainerHeight = window.innerHeight - this.$paging_area.get(0).offsetHeight;
|
||||
if (!frappe.is_mobile()) {
|
||||
resultContainerHeight = resultContainerHeight - this.$result.get(0).offsetTop;
|
||||
}
|
||||
this.$result.parent(".result-container").css({
|
||||
height: resultContainerHeight - (frappe.is_mobile() ? 100 : 0) + "px",
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue