Vint

Results issues of Vint

**情景描述:** 当我在一个Page或Component中需要使用多个Controller时, 只是让Page或Component混合fish_rudex暴露出来的SingleTickerProviderMixin是已经不够用了,我在fish_redux的redux_component_mixin目录下找适配TickerProviderStateMixin的相关类但是一无所获。 **我的解决方式:** 所以,照着TickerProviderStateMixin自己写了个Mixin来适配TickerProviderStateMixin ` port 'package:fish_redux/fish_redux.dart'; import 'package:flutter/widgets.dart'; mixin TickerProviderMixin on Component { @override _TickerProviderStfState createState() => _TickerProviderStfState(); } class _TickerProviderStfState extends ComponentState with TickerProviderStateMixin {} ` 使用这个Mixin后程序暂时没有出现什么问题。...

### 问题 我有一些需求需要拦截Page和Component的SubEffect,但是,Component中的SubEffect会在EffectMiddleware中多次触发,似乎触发一个Component中的SubEffect会逐一尝试同一Page下的所有Component的Effect. ``` Effect combineEffects(Map map) => (map == null || map.isEmpty) ? null : (Action action, Context ctx) { final SubEffect subEffect = map.entries .firstWhere( (MapEntry entry) =>...

## 问题描述 窄屏显示页面时,地图上的年份导航按钮点击区域会出现偏倚。 ## 如何复现 以[yihong0618](https://yihong.run/)为例,在移动设备上打开该页面。年份导航按钮的点击区域会往前偏倚,此时点击**2023**的**前半部分**(也就是下图所示的红框区域)可以导航到**2023**,但是点击到**2023**的**后半部分**则会导航到**2022**。 ![Xnip2023-05-11_09-12-32](https://github.com/yihong0618/running_page/assets/26142850/334aee8c-4d37-4b25-b5c7-88c5f12795ed) ## 我的解决方法 修改 **/src/components/RunMap/style.module.scss**中的button配置,去除width,修改padding。 ### 修改前: ```css .button { display: inline-block; position: relative; cursor: pointer; width: 7%; padding: 1.3rem; margin-top: 0.1rem; font-size: 1rem;...