Skip to content

panelHeight/panelWidth don't automatically update #235

@ahwitz

Description

@ahwitz

The problem is that if I manually change the height/width of the diva-outer element, panelHeight and panelWidth don't update unless the browser width is changed; I can't just use the height/width of the outer element because panelHeight/panelWidth include the scrollbar.

My fix right now will be to include a public function to manually call adjustBrowserDims - any better suggestions? I can't think of a way to do this automatically unless I put a check every ~100ms or something to check the size of the outer element.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions