鹏多多

Results 5 comments of 鹏多多

**目前在xxx.module.scss中,使用@include是不支持的,会导致获得空对象** 以下写法可以: ![QQ截图20220721120146](https://user-images.githubusercontent.com/52116404/180127914-cb9d464b-c34a-4480-a260-4a2f5606a158.png) ![QQ截图20220721120208](https://user-images.githubusercontent.com/52116404/180128339-bd1d5544-67af-4fed-a337-f75b6cb3750e.png) ![QQ截图20220721120244](https://user-images.githubusercontent.com/52116404/180128511-b37bc147-4955-4b36-b303-318f4798cdba.png)

You can dynamically calculate the row height, record the current width after the page is rendered, and assign a value after scaling as the page width changes.

Look heremaxScale property ```dart builder: (BuildContext context, int index) { return PhotoViewGalleryPageOptions( imageProvider: ’‘, initialScale:PhotoViewComputedScale.contained * 1, heroAttributes: PhotoViewHeroAttributes(tag: imageList[index]), minScale: PhotoViewComputedScale.contained * 1, maxScale: PhotoViewComputedScale.covered); } ```

The data has changed, but the item arrangement has not been updated

[v4.4.0](https://github.com/reactjs/react-transition-group/releases/tag/v4.4.0)中已修复: ``` import React from "react" import { CSSTransition } from "react-transition-group" const MyComponent = () => { const nodeRef = React.useRef(null) return ( Fade ) } ```