Skip to content

[Modal] not all changes are observed even with observeChanges: true #2476

@mvorisek

Description

@mvorisek

Bug Report

When I modify the demo from #2036 with textarea - https://jsfiddle.net/2w493cyo/1/ - and resize the textarea vertically to force the modal height to be greater than the viewport, no scrollbar is shown. But when I change/maximalize browser window size, it trigger some internal change and scrollbar is added, even if nothing in the modal is changed. It seems not enough changes are observed.

Steps to reproduce

  1. open https://jsfiddle.net/2w493cyo/1/
  2. resize textare by dragging the bottom-right corner to make the modal height overflow
  3. notice no scrollbar

Expected result

image

Actual result

no vertical scrollbar after modal height overflow

image

Metadata

Metadata

Assignees

Labels

state/has-prAn issue which has a related PR opentype/bugAny issue which is a bug or PR which fixes a bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions