Baseflow / Baseflow/XF-Material-Library

Snackbar and dialog loses padding or margin when using Material.Init(this, configuration)

Open
#415 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
633
Forks
150
PR merge metrics
No merged PRs in 30d

Description

## 🐛 Bug Report

Whenever I configure the Material.Init method with Material.Configuration I lose left and right margin of snackbar control.
![Screenshot_20210123-222113](https://user-images.githubusercontent.com/27432070/105614411-a3a15100-5dc9-11eb-8cb6-484315d06b8a.jpg)
![20210123_221845](https://user-images.githubusercontent.com/27432070/105614413-a603ab00-5dc9-11eb-83af-b5638b400413.png)

### Expected behaviour
Snackbar should look the same when calling Material.Init method or Material.Init(this, Material Config)
### Reproduction steps
Declare the certain config in App.xaml file

then use this line in App.xaml.cs.
Material.Init(this, Resources["Material.Configuration"] as MaterialConfiguration);
### Configuration

**Version:** 1.7.7

**Platform:**
- [x] :iphone: iOS
- [x] :robot: Android
- [ ] :checkered_flag: WPF
- [ ] :earth_americas: UWP
- [ ] :apple: MacOS
- [ ] :tv: tvOS
- [ ] :monkey: Xamarin.Forms

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.