enisn / UraniumUI

Uranium is a Free & Open-Source UI Kit for MAUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Button of UraniumUI open new windows which cannot be brought to foreground

jingliancui opened this issue · comments

commented

Reproduce:

  1. Open the sln using VS
  2. F5 to start the app
  3. Click button "open using uranium"

Actual Result:
The new window place in back of MainPage Window

Expect Result1:
The new window should be brought to foreground which in front of MainPage

Expect Result2:
Effect like you click the button "open using native"

SampleApp.zip

PressedCommand is executed when you start pressing the button, you can use TappedCommand to execute command then you completed clicking. (Same logic with TapGestureRecognizer)

commented

Hi @enisn , no, it still can not bring the new windows to foreground, this is the code I try:

<material:ButtonView 
    BackgroundColor="Blue"
    FlexLayout.AlignSelf="Center"
    TappedCommand="{x:Binding NewWinCmd}">
    <Label Text="open using uranium" />
</material:ButtonView>