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

[Popup] Pop up the Popup from a specified position. #173

Open
ctycode opened this issue Jun 9, 2024 · 2 comments
Open

[Popup] Pop up the Popup from a specified position. #173

ctycode opened this issue Jun 9, 2024 · 2 comments

Comments

@ctycode
Copy link

ctycode commented Jun 9, 2024

tdesign-flutter 版本

0.1.4

I'm using the Popup component to display a window from the top. I followed the code example from the documentation:

Navigator.of(context).push(TDSlidePopupRoute(
    slideTransitionFrom: SlideTransitionFrom.top,
    builder: (context){
        return SafeArea(child: Container(
            color: Colors.white,
            height: 240,
        ));
    }
));

It perfectly displays the view from the top, but unfortunately, it covers the status bar and AppBar. I want it not to cover the status bar; I want it to pop up from below the AppBar. How can I achieve this?

I saw a related implementation in the documentation illustration, but I don't know how to implement it. I hope an expert can guide me. Thank you!

Here is the illustration from the documentation:
url: https://tdesign.tencent.com/flutter/components/popup?tab=design
shot

Copy link

github-actions bot commented Jun 9, 2024

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

@Luozf12345
Copy link
Collaborator

已修改,将在0.1.6版本带上。
fiexed,will be included in version 0.1.6

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

No branches or pull requests

2 participants