Comments (2)
问题出在box中的getDistanceToActualBaseline会从缓存中取值,它仅仅当它在markNeedsLayout时清除缓存。
但我们重新设置div的宽度时,只是调用了_markSelfAndParentNeedsLayout令自身和父节点markNeedsLayout,所以改变div宽度子节点的getDistanceToActualBaseline一直是初始时计算出来的202
flutter3.1.x已经解决了该bug
from kraken.
该问题依赖Flutter官方解决,不便在kraken/webf中解决,暂时关闭
from kraken.
Related Issues (20)
- [MacOS、Windows]input、textarea组件文字溢出时滚动交互问题 HOT 1
- [MacOS]不支持PC端(MacOS、Windows、Linux)的滚轮滚动事件
- 适配flutter2.10 HOT 1
- querySelectorAll 功能缺失
- overflow:hidden失效 HOT 1
- position:absoluted 元素获取offsetLeft、offsetTop失败为null
- addEventListener中返回的Event需要添加PointerDeviceKind属性来兼容不同手势之间的差异 HOT 13
- 更好的输入体验 HOT 1
- 官方文档Kraken Playground 安装二维码失效
- window下使用gitbash按照文档构建不了android
- windows 下引用启动报错 Failed to load dynamic library 'libkraken.dll'
- sliver里面包不同类型的item运行有问题 HOT 1
- kraken支持typescript+react吗? HOT 1
- kun 啥时候开源 会不会替代kraken HOT 1
- 安卓运行demo各种找不到 HOT 1
- Flutter动态化技术方案对比 HOT 2
- 这个仓库不更新了吗 HOT 1
- 本项目已经迁移到 openwebf,请前往新项目地址提交反馈
- Failed to load dynamic library 'libwebf.so'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kraken.