Binding Croppie when element isn't visible causes boundaries to be incorrect
See original GitHub issueI found a bug in croppie.js
from line 340 to 358. four if
is so terrible, i can not understand it.
absolutely i know in my code the transBoundaries.minX > transBoundaries.maxX
, four if
will be run.
if i comment those if
, everything is OK.
To Show this question. You can find my code here: https://github.com/tosone/tosone.github.io.git
and https://tosone.github.io/, click 头像
, you will find it.
Thank You! I want to know why.
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Why Am I Not Catching Crappie? – 6 Reasons - YouTube
Want To Locate Crappie Fast? Get My 7 Step Crappie Locating System Here – https://www.dominatefishing.com/6-step- crappie -locating-system/you ...
Read more >Croppie - a simple javascript image cropper - Foliotek
Visibility and Binding Croppie is dependent on it's container being visible when the bind method is called. This can be an issue when...
Read more >Untitled
Repacking parachutes may cause some degradation in the strength of the parachute material. The FAA has, therefore, determined that this final rule is...
Read more >Recreational Fisheries: Ecological, Economic and Social Evaluation
correct figure is closer to 14% (McDonald 2000, personal communication). Clearly the reasons individuals value recreational fishing vary greatly, ...
Read more >COXGR.ESSION AL RECORD-SEN ATE - Congress.gov
Omaha, who had seen his business gradually slipping away to the cooperatives during the past 10 years. A livestock exchange official,.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
After i remove the
fade
, it works well. i think i need this functionThank you.
I fixed this with the following code
Croppie.prototype.refresh = function(){ let zoom = (this.get()).zoom; this.setZoom(zoom - .01); }