Skip to content

presentationStyle, height and width don't work in showModal. #180

Description

@howieluo

I change the property fullscreen and added a new property ios like below in nativescript-sdk-examples-js/app/ns-ui-category/modal-view/basics/basics-page.js:

function openModal(args) {
const mainView = args.object;
const option = {
context: { username: "test_username", password: "test" },
closeCallback: (username, password) => {
// Receive data from the modal view. e.g. username & password
alert(Username: ${username} : Password: ${password});
},
fullscreen: false,
ios: {
presentationStyle: 7,
height: 100,
width: 50
}

};
mainView.showModal(modalViewModule, option);

}

But, I find that presentationStyle, height and width don't work. The modal view is almost full screen.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions