Skip to content

Wrong height, elements overflow #37

@plagasul

Description

@plagasul

Very nice tool, thank you.

In my case very often the container's height is wrongly calculated and items overflow.

  • A working example of the error
  • If you force-reload, 1 out of 4 times max height is wrongly calculated (I added some console.logs, so look at the console, please)
  • I am starting the grid like this (static:false because the images come from an external service, but with 'static:true' and without 'items', same error)
let magicGrid = new MagicGrid({
	container: '.container',
	animate: false,
	gutter: 0,
	static: false,
	items: 8
//	maxColumns: 4,
// 	useMin: true,
});

magicGrid.listen();

  • This is Chrome 78.0.3904.97 (Official buildl) (64 bits)

Let me know if I can provide other information, or what to try, please.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions