Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

Modal initial offsetY in position: absolute #1335

Open
jmorazano opened this issue Oct 24, 2016 · 0 comments
Open

Modal initial offsetY in position: absolute #1335

jmorazano opened this issue Oct 24, 2016 · 0 comments

Comments

@jmorazano
Copy link

When creating a modal with options: "position: absolute, offsetY: 0", chico adds an initial value to offsetY of:

(viewportHeight - modalContainerHeight)/2

I guess the idea of changing default's position fixed for absolute, is to give the modal an exact position by setting X and Y offsets without having chico calculating vertical position.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants