mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(core): default frame edges to overflow
This commit is contained in:
@@ -80,6 +80,8 @@ export class Frame extends FrameBase {
|
|||||||
private _containerViewId = -1;
|
private _containerViewId = -1;
|
||||||
private _tearDownPending = false;
|
private _tearDownPending = false;
|
||||||
private _attachedToWindow = false;
|
private _attachedToWindow = false;
|
||||||
|
_defaultOverflowEdge: number;
|
||||||
|
_defaultOverflowEdgeValue: string;
|
||||||
/**
|
/**
|
||||||
* This property indicates that the view is to be reused as a root view or has been previously disposed.
|
* This property indicates that the view is to be reused as a root view or has been previously disposed.
|
||||||
*/
|
*/
|
||||||
@@ -90,6 +92,8 @@ export class Frame extends FrameBase {
|
|||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this._android = new AndroidFrame(this);
|
this._android = new AndroidFrame(this);
|
||||||
|
this._defaultOverflowEdge = 1 << 4;
|
||||||
|
this._defaultOverflowEdgeValue = 'dont-apply';
|
||||||
}
|
}
|
||||||
|
|
||||||
public static reloadPage(context?: ModuleContext): void {
|
public static reloadPage(context?: ModuleContext): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user