TF-295 Remove duplication vertical scrollbar in EmailDetailView
This commit is contained in:
@@ -125,7 +125,7 @@ class _HtmlContentViewerOnWebState extends State<HtmlContentViewerOnWeb> {
|
|||||||
..height = actualHeight.toString()
|
..height = actualHeight.toString()
|
||||||
..srcdoc = _htmlData ?? ''
|
..srcdoc = _htmlData ?? ''
|
||||||
..style.border = 'none'
|
..style.border = 'none'
|
||||||
..style.overflowY = 'hidden'
|
..style.overflow = 'hidden'
|
||||||
..onLoad.listen((event) async {
|
..onLoad.listen((event) async {
|
||||||
var data = <String, Object>{'type': 'toIframe: getHeight'};
|
var data = <String, Object>{'type': 'toIframe: getHeight'};
|
||||||
data['view'] = createdViewId;
|
data['view'] = createdViewId;
|
||||||
@@ -173,6 +173,9 @@ class _HtmlContentViewerOnWebState extends State<HtmlContentViewerOnWeb> {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
iframe.setAttribute('scrolling', 'no');
|
||||||
|
iframe.setAttribute('seamless', 'seamless');
|
||||||
|
|
||||||
ui.platformViewRegistry.registerViewFactory(createdViewId, (int viewId) => iframe);
|
ui.platformViewRegistry.registerViewFactory(createdViewId, (int viewId) => iframe);
|
||||||
|
|
||||||
if (mounted) {
|
if (mounted) {
|
||||||
|
|||||||
Reference in New Issue
Block a user