Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TDSlidePopupRoute] 在有输入框的页面上弹出,激活输入框会平移到顶部 #388

Open
applebest opened this issue Dec 4, 2024 · 1 comment

Comments

@applebest
Copy link

tdesign-flutter 版本

0.1.7

重现链接

No response

重现步骤

 Navigator.of(context).push(TDSlidePopupRoute(
        modalBarrierColor: rgba(0, 0, 0, 0.80),
        slideTransitionFrom: SlideTransitionFrom.bottom,
        builder: (context) {
          return AnimatedPadding(
            padding: MediaQuery.of(context).viewInsets,
            duration: const Duration(milliseconds: 100),
            curve: Curves.decelerate,

            child: QuestionFeedback(
              feedbackOptions: controller.state.feedbackModel.data.orDefault,
              onSubmit: (int? index, String description,
                  dynamic Function() onSuccess) {
                controller.feedBackDescription = description;
                controller.state.feedBackSelectedIndex = index;
                controller.submitFeedback(success: onSuccess);
              },
            ),
          );
        }));

期望结果

和0.1.6的效果保持一致,只向上平移键盘高度

实际结果

No response

Flutter版本

No response

设备与机型信息

No response

系统版本

No response

补充说明

No response

Copy link
Contributor

github-actions bot commented Dec 4, 2024

👋 @applebest,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants