Closed kapilpipaliya closed 5 months ago
Describe the bug minHeight and maxHeight not setting properly. I am getting error: Value for minHeight can not be greater than maxHeight for following code:
Value for minHeight can not be greater than maxHeight
To Reproduce Steps to reproduce the behavior:
el.addEventListener('load', () => iframeResizer({ checkOrigin: false, minHeight: '99px', maxHeight: '888px', warningTimeout: 5000, scrolling: true, }, el))
Expected behavior It should properly parse integer before checking min and max height.
It expects a number, not a string.
Describe the bug minHeight and maxHeight not setting properly. I am getting error:
Value for minHeight can not be greater than maxHeight
for following code:To Reproduce Steps to reproduce the behavior:
Expected behavior It should properly parse integer before checking min and max height.