Posts

Showing posts with the label modal-dialog

Semantic UI - Mobile Scrolling Disabled Once Modal Opens (and remains disabled even after modal is closed)

Semantic UI - Mobile Scrolling Disabled Once Modal Opens (and remains disabled even after modal is closed) I am using Semantic UI 2.3.2 and having page scrolling problem on mobile, once modal is loaded the page scrolling function is disabled (even modal is closed after). 2.3.2 This behavior can even be experienced on official site https://semantic-ui.com/modules/modal.html just try to "Run Code" for any example modal, and then try to scroll page. Searching through, I have already tried using observeChanges settings without any help. observeChanges P.S. You must check the link on mobile browser. I have tested on Android/Chrome. By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

How to send WM_INPUTLANGCHANGEREQUEST to app with modal window?

How to send WM_INPUTLANGCHANGEREQUEST to app with modal window? I wrote a keyboard switcher, which works well, but fails if current application has modal window opened. On keyboard switch I do the following hwnd = GetForegroundWindow(); PostMessage(hwnd, WM_INPUTLANGCHANGEREQUEST, IntPtr.Zero, handle); where [DllImport("User32.dll", EntryPoint = "PostMessage")] private static extern int PostMessage(IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam); [DllImport("user32.dll")] static extern IntPtr GetForegroundWindow(); but the language does not change. How would I accomplish this? Adding get root owner improved situation, but didn't help completely. Adding call for GetDesktopWindow didn't help: GetDesktopWindow hwnd = GetDesktopWindow(); InputLangChangeRequest(hwnd, language); hwnd = GetRootOwner(); InputLangChangeRequest(hwnd, language); Code is here https://github.com/dims12/NormalKeyboardSwitcher Possible duplicate o...

angular 5/6: ERROR Error: mat-form-field must contain a MatFormFieldControl

angular 5/6: ERROR Error: mat-form-field must contain a MatFormFieldControl I'm trying to open an OpenDialog window from a table list and I'm receiving this error: ERROR Error: mat-form-field must contain a MatFormFieldControl. here is the code of the HTML openDialog: <h2 mat-dialog-title>Edit Order</h2> <mat-dialog-content > <mat-form-field> <mat-card-content *ngIf="order.orderDate != null" [(ngModel)]="order.orderDate" name="orderDate" ngDefaultControl ></mat-card-content> </mat-form-field> <mat-form-field> <mat-card-content [(ngModel)]="order.destAddress" name="destAddress" ngDefaultControl></mat-card-content> </mat-form-field> <mat-form-field> <mat-card-content [(ngModel)]="order.deliveryType" name="deliveryType" ngDefaultControl></mat-card-content> </mat-form-field> ...