Custom Dropdown using React.js | REACT CUSTOM COMPONENT |

Поделиться
HTML-код
  • Опубликовано: 13 апр 2021
  • Custom Dropdown | select using react.js. The following code is available on coding sandbox
    link for the sandbox - codesandbox.io/live/3vohdkw
    #customComponent #react #html #css #dropdown #customDropdown

Комментарии • 55

  • @raphaelrychard5440
    @raphaelrychard5440 Месяц назад +1

    Perfect video, great tutorial on how to create a custom dropdown

  • @jongomezdev
    @jongomezdev 2 года назад +3

    the easiest solution out of hundreds.. KEEP UP THE GOOD WORK

  • @poolcaceres493
    @poolcaceres493 Год назад +7

    It has been a year and its still a really good tutorial

  • @pitambarjadhav9984
    @pitambarjadhav9984 Год назад +1

    precise and up to the point thank you.!

  • @ellsonmendesYT
    @ellsonmendesYT 2 года назад +2

    kind of css carret
    .carret{
    transition: all .2s;
    position: relative;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ddd;

    }
    just stick it inside the dropdown-btn
    :)

  • @downsiteup1
    @downsiteup1 2 года назад +2

    made my day, thanks a lot

  • @amoriblain3655
    @amoriblain3655 2 года назад

    Great job! Thank you very much

  • @ellsonmendesYT
    @ellsonmendesYT 2 года назад +1

    3:39 as a miracle the carret appeared lol

  • @dennisfisher2684
    @dennisfisher2684 2 года назад +1

    It's cool! ) Thanks )

  • @AminSani
    @AminSani Год назад +1

    It seems like this session (Codesandbox) doesn't exist or has been closed

  • @user-ng8bj8uz5n
    @user-ng8bj8uz5n 3 месяца назад

    👍👍👍

  • @thebigman9341
    @thebigman9341 2 года назад

    thanks for the awesome video

  • @islombektadjiyev793
    @islombektadjiyev793 4 месяца назад

    Perfect ! Thanks bro

  • @foxymizer
    @foxymizer 2 года назад +3

    in what time did you add an arrow?

  • @AliRazaTruth
    @AliRazaTruth Год назад

    thanks so much bro for this helpfull tutorial .

  • @letsexplainme
    @letsexplainme 2 года назад +5

    sandbox link is not working

  • @sancharidas7923
    @sancharidas7923 2 года назад

    I want to place two dropdowns placed side by side. Can you please tell me how to do that. Thank you.

  • @user-rr7yr9ml9p
    @user-rr7yr9ml9p 2 года назад +3

    Thanks!

  • @abusalimansari6279
    @abusalimansari6279 2 года назад

    thank you sir video is awesome thx for help

  • @manojrao9867
    @manojrao9867 2 года назад +9

    how did you get drop down arrow beside "Choose One" for bold property. Am I missing anything please let me know.

    • @tanishkaborkar9754
      @tanishkaborkar9754 2 года назад +2

      see some video on react-icons you will get an clear idea then

  • @rajbannasa7662
    @rajbannasa7662 Год назад +1

    Thank you so much sir ❤️

  • @ekta_shukla9248
    @ekta_shukla9248 2 года назад +3

    Can i get the link of the whole code..!!it would be helpful

  • @abelardoblog
    @abelardoblog Год назад +1

    Hey how I can use the same drop-down but with different information ? Amazing video 😊

  • @sidharth-singh
    @sidharth-singh 2 года назад +1

    What happens if I use this as a dynamic component and it is at the bottom of viewport. I want the dropdown to open at top. I have been looking for this solution for over a week.

    • @techcareweb6613
      @techcareweb6613  Год назад +1

      You can assign a ref to the drop-down element and check for getBoundingClientRect()

  • @user-tn5qb6xw6h
    @user-tn5qb6xw6h 2 года назад

    Super!!!!

  • @emreozgun3846
    @emreozgun3846 2 года назад +2

    I'd manipulate opacity/visibility with transition by adding/removing classes instead of conditionally rendering.

  • @rishitachoubey6054
    @rishitachoubey6054 3 года назад +12

    The sandbox link is not working

    • @techcareweb6613
      @techcareweb6613  2 года назад +7

      codesandbox.io/s/jolly-proskuriakova-pj2tk

    • @sabareeshsk1326
      @sabareeshsk1326 Год назад

      @@techcareweb6613 thank you, please put this in the description for others too

  • @hrishikeshdeoghare4359
    @hrishikeshdeoghare4359 2 года назад

    nice

  • @ekta_shukla9248
    @ekta_shukla9248 2 года назад +2

    Sandbox link is not working

  • @pritech8302
    @pritech8302 2 года назад

    thankyou so much sir

  • @chenaplayz3263
    @chenaplayz3263 2 года назад +3

    Hi how do you handle click outside with the code in the vid

    • @yatut4467
      @yatut4467 2 года назад

      He doesn't handle it.

  • @ayushsingh-re7dn
    @ayushsingh-re7dn 5 месяцев назад

    GREAT JOB! WORTH THE SUBSCRIBE! GOOD DAY..

  • @jaykrishnanandagiri3436
    @jaykrishnanandagiri3436 2 года назад

    what about choose one it is not displaying in dropdown because it should display by default right

  • @abrahamjoseph3080
    @abrahamjoseph3080 Год назад

    Hello it's been 2 years since this but this video just saved my job, Please can anyone help with adding a reset button, so selection can be cleared instead of refreshing the browser

  • @thegeneralcategory2792
    @thegeneralcategory2792 Год назад

    thnq

  • @fogset3005
    @fogset3005 2 года назад +1

    i can not see the code

  • @rayhadif
    @rayhadif 2 года назад

    i cant use it twice pls help

  • @nikeshkumarrakesh6296
    @nikeshkumarrakesh6296 Год назад

    code is not working.

  • @alibalbars5177
    @alibalbars5177 2 года назад +4

    instead of using 95% width you can use box sizing border-box 5:41

  • @codingroom928
    @codingroom928 2 года назад

    clicking outside is unsolved...

    • @techcareweb6613
      @techcareweb6613  Год назад

      I'll make a new video soon to cover that as well. For now you can use a hook by mantine-ui called use-outside-click

  • @nickbenton2828
    @nickbenton2828 8 месяцев назад

    i absolutely cannot stand the fact that they are moving lines for no reason, and cant even put a text explanation to what they are moving and to where. I have rewatched this section of the tutorial 15 times and im about to decide its pointless.

    • @techcareweb6613
      @techcareweb6613  7 месяцев назад

      I'll be updating the video soon, it's quite outdated.

  • @thanhnguyenhuy8725
    @thanhnguyenhuy8725 Год назад

    nice

  • @akashtambe11
    @akashtambe11 2 месяца назад

    Sandbox link is not working