Skip to content

Commit

Permalink
Ignore clicking outside of popup to sign in.
Browse files Browse the repository at this point in the history
  • Loading branch information
jumper149 committed Oct 22, 2024
1 parent 0876eda commit b858237
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 2 deletions.
1 change: 0 additions & 1 deletion frontend/source/Mensam/Element/Screen.elm
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ element screen =
, Element.height <| Element.px 30
, Element.alignTop
, Element.Events.Pointer.onClick <| \_ -> screen.closePopup
, Element.htmlAttribute <| Html.Attributes.style "filter" "blur(0)"
]
[]
, Element.row
Expand Down
44 changes: 43 additions & 1 deletion frontend/source/Mensam/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module Mensam.Main exposing (..)
import Browser
import Browser.Navigation
import Element
import Element.Events.Pointer
import Element.Font
import Html.Attributes
import Http
Expand Down Expand Up @@ -2609,7 +2610,48 @@ view (MkModel model) =
Element.none

Just el ->
el
Element.column
[ Element.width Element.fill
, Element.height Element.fill
, Element.padding 0
, Element.spacing 0
]
[ Element.row
[ Element.width Element.fill
, Element.height <| Element.px 170
, Element.alignTop
, Element.Events.Pointer.onClick <| \_ -> EmptyMessage
]
[]
, Element.row
[ Element.width Element.fill
, Element.padding 0
, Element.spacing 0
]
[ Element.column
[ Element.width Element.fill
, Element.height Element.fill
, Element.alignLeft
, Element.Events.Pointer.onClick <| \_ -> EmptyMessage
]
[]
, el
, Element.column
[ Element.width Element.fill
, Element.height Element.fill
, Element.alignRight
, Element.Events.Pointer.onClick <| \_ -> EmptyMessage
]
[]
]
, Element.row
[ Element.width Element.fill
, Element.height Element.fill
, Element.alignBottom
, Element.Events.Pointer.onClick <| \_ -> EmptyMessage
]
[]
]
]
<|
Element.el
Expand Down

0 comments on commit b858237

Please sign in to comment.