Skip to content

Output area height is rounded when fixing height on clear #2668

@jasongrout

Description

@jasongrout

In

var height = this.element.height();
, we use jquery to find and fix the height of an output area in order to prevent jumpiness when clearing an output area. However, the jquery .height() function rounds the height to the nearest integer, which causes some jitter. It would be better to use .getBoundingClientRect().height, which doesn't round the height.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions