Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: Calendar animating incorrect when size is changed [27905]

$
0
0
The Calendar animation is incorrect when the width or the height of the calendar body is changed via css class. I have made some changes to the __Calendar.js__ file to fix the issue. I dont know if it the best fixe but it seams to work correctly.

__Code change summay__

Removed Hard-Coded Variable
this._width = 170;
this._height = 139;

Replace Variable By Corresponding

newElement.offsetWidth
newElement.offsetHeight

oldElement.offsetWidth
oldElement.offsetHeight

Exemple:
$common.setLocation(newElement, { x: 0, y: newElement.offsetWidth });
$common.setLocation(newElement, { x: 0, y: newElement.offsetHeight });

Include modified javascript. Hope this will help.

Comments: We applied the changes that you suggested in the Calendar extender source code, but unfortunately, this solution does not work in the scenario you provided. Let me thank you for your efforts. We have taken the issue you described into account and will fix it as soon as possible. Best regards, Fadil

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>