Skip to content

[BUG] in flutter_html, video full screen can't close when AppBar toolbarHeight changed #817

@Zzy0706

Description

@Zzy0706

Describe the bug:

in flutter_html, video full screen can't close when toolbarHeight changed

HTML to reproduce the issue:
<video controls> <source src="videoUrl" /> </video>

Html widget configuration:

Scaffold( appBar: AppBar( toolbarHeight: 100 - MediaQuery.of(context).padding.top, centerTitle: true, flexibleSpace: Stack( children: [ Image.network( 'https://dummyimage.com/143x142', height: 100, width: 100, fit: BoxFit.cover, ), ], ), ), body:ListView( children: [ // VideoPlayerScreen('videoUrl'), Html( data: htmlData, ),], ) ))
Expected behavior:

close video full screen when AppBar tollBarHeight changed
Screenshots:

first widget,It's outside flutter_html,the second widget is in flutter_html
612bc991d5198_612bc99229443

A picture of a cute animal (not mandatory but encouraged)

IMG_3689

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions