Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript how can I create a search box like Facebook's?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #195599
    maketroli
    Participant

    Is there a way to do that manually ? I was trying to use Ionic Framework, they had an attribute for that but is deprecated now.

    By Facebook’s search box I mean:

    1 – Hidden at first sigh

    2 – If you want to see it you have to pull down

    3 – Once you focus on it, it extends up to the top of the screen and overlaps the header

    4 – Has a button which is an X to delete the content of the search box and other button named “Cancel” to close the search box.

    Pretty sure everyone has notice that behavior already.

    So, what are the techniques to implement it ?

    I am using Angular so I do not know if there is a way to do a Directive, or just with css ? what are your suggestions ?

    #195641
    shaneisme
    Participant

    What have you tried so far?

    Set up a CodePen and we can try to help.

    #195672
    maketroli
    Participant

    is for a Mobile Hybrid app for iPhone and Android

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.