Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neodigm Poptart | Optional Hover dismiss behavior - Closed when mouse is off both bound element and Poptart #81

Open
neodigm opened this issue Aug 20, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@neodigm
Copy link
Collaborator

neodigm commented Aug 20, 2023

Example: Github hover on user name in bread crumb.

@neodigm neodigm added documentation Improvements or additions to documentation enhancement New feature or request v3.0 Target version 3.0 labels Aug 20, 2023
@neodigm neodigm self-assigned this Aug 20, 2023
@neodigm
Copy link
Collaborator Author

neodigm commented Aug 20, 2023

Define two or more behavior patterns for dismissal, tokenize, and expose in the contract. Feature flag(s)?

We may need a slight delay to allow for the mouseenter event to fire when moving from bound element to poptart.

@neodigm
Copy link
Collaborator Author

neodigm commented Sep 1, 2023

UPDATE: This task is a considerable effort. It may take more time to complete. In the interim the following code has been commented out:

/* ADVANCED HOVER PATTERNS */
this._d[ neodigmOpt.N55_APP_STATE.CONTEXT ].addEventListener("mouseout", ( ev ) => {  //  data-n55-poptart-hover
    console.log( " ~~~ ev.target?.dataset?.n55PoptartHover | " + ev.target?.dataset?.n55PoptartHover )
    let sPTCont = neodigmUtils.walkDOM3( ev?.target, "n55PoptartHover" )
    console.log( " ~~~ sPTCont | " + sPTCont )

    if( sPTCont ){
        this.close()
    }
} ) 

@neodigm neodigm removed the v3.0 Target version 3.0 label Sep 3, 2023
@neodigm neodigm removed their assignment Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant