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

MimeMessageViewer small email issue #15

Open
surajprasad57 opened this issue Apr 8, 2022 · 4 comments
Open

MimeMessageViewer small email issue #15

surajprasad57 opened this issue Apr 8, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@surajprasad57
Copy link

While using MimeMesssageViewer, Even for small emails of like one line, It takes complete height of the screen, which is causing me issue in showing attachment at the bottom of the screen. How to fix this. Any help would be appreciable .

@robert-virkus robert-virkus added the bug Something isn't working label Apr 15, 2022
@robert-virkus
Copy link
Member

Thanks for the report - do you use the git version or the pub.dev version of enough_mail_flutter? In the git version the height should be set correctly.

@surajprasad57
Copy link
Author

I use the pub.dev version. I will give try to the git version and update here shortly.

@robert-virkus
Copy link
Member

Great and thanks for your quick response!

@surajprasad57
Copy link
Author

I used the git version too.. But even for a blank body mail, i takes the entire height of the screen.

below is my code:

Container(
alignment: Alignment.topCenter,
child: MimeMessageViewer(
adjustHeight: true,
onError: (err,stack){
Log.v("err=== $err \n stack trace=== $stack");
},
mimeMessage: widget.messageList[widget.index],
blockExternalImages: false,
emptyMessageText: Strings.noBodyFound,
key: GlobalKey(),
),
),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants