ngneat / dialog

👻 A simple to use, highly customizable, and powerful modal for Angular Applications

Home Page:https://ngneat.github.io/dialog/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to set minWidth or maxWidth

Tlepel opened this issue · comments

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

Expected behavior

I'd like to set a min-width and max-width on modal sizes, the same way min-height and max-height are already possible.

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Some modals need to stretch slightly in the horizontal direction, based on the contents. For example, a longer piece of text that shouldn't wrap could overflow the modal since it's width was set explicitly.

Environment


Angular version: X.Y.Z


Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

This was implemented and merged in #103 :)