I have the following Angular code, but when I apply zoom on smaller resolutions, the report viewer dropdown becomes misaligned.
It seems to be caused by the dx-overlay-wrapper
class.
I have the following Angular code, but when I apply zoom on smaller resolutions, the report viewer dropdown becomes misaligned.
It seems to be caused by the dx-overlay-wrapper
class.
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hi Diego,
I've created a simple example using our Project Template Kit but could not reproduce the issue. To avoid any misunderstanding, could you please share a reproducible sample that I can investigate on my side? I will review everything and let you know my results.
Best regards,
Boris
Hello, what you have to do is the following,
Create a project in angular, then, in the main typescrit create a "ngDoCheck" method, then put this line
if (zoomContainer) {
this.renderer.setStyle(zoomContainer, 'zoom', this.zoomScreemLittle ? '100%' : this.zoomScreemStandar ? '69%' : '100%');
}
,and play a report on a laptop, and you will see that the report viewer, specifically the export formats display, is not located in the correct position
Thank you for the reply.
Unfortunately, the
zoomScreemLittle
andzoomScreemStandar
variables are unknown to me so I'm not sure how to use them correctly. However, I've attached a simple Angular reporting example that demonstrates the correct zoom setting. Could you please update it to demonstrate the issue and share it with me?Best regards,
Boris
this.widthChange = this.breakpointObserver .observe([ '(max-width: 575px)', // XS '(min-width: 576px) and (max-width: 767px)', // Small '(min-width: 768px) and (max-width: 991px)', // Medium '(min-width: 992px) and (max-width: 1199px)', // Large '(min-width: 1200px) and (max-width: 1366px)', // Large '(min-width: 1367px)', // XL ]) .subscribe((state: BreakpointState) => { this.isXSmall = state.breakpoints['(max-width: 575px)']; this.isSmall = state.breakpoints['(min-width: 576px) and (max-width: 767px)']; this.isMedium = state.breakpoints['(min-width: 768px) and (max-width: 991px)']; this.isLarge = state.breakpoints['(min-width: 992px) and (max-width: 1199px)']; this.isStandar = state.breakpoints['(min-width: 1200px) and (max-width: 1366px)']; this.isXLarge = state.breakpoints['(min-width: 1367px)']; //actual this.currentWidth = window.innerWidth; this.currentHeight = window.innerHeight; this.zoomScreemLittle = this.isXSmall || this.isSmall; this.zoomScreemStandar = this.isStandar || this.isLarge; });
please, help me