react-dd-menu icon indicating copy to clipboard operation
react-dd-menu copied to clipboard

controlling left\right icon

Open sht5 opened this issue 8 years ago • 4 comments

Hello, For some reason when i have a nested menu, the arrow points in the wrong direction. where is this handled in code so i can take a look at whats going wrong? thanks image

sht5 avatar Jan 05 '17 08:01 sht5

This library doesn't actually include any icons for the left or right arrow. It should be how you implemented the NestedDropdownMenu's toggle. In your button or a tag, you'd just need to correctly place your arrow before or after the text to match the direction the menu opens.

mlaursen avatar Jan 05 '17 23:01 mlaursen

Hey, but i didn't place any icons there, it appears on its own...

On Jan 6, 2017 1:14 AM, "Mikkel Laursen" [email protected] wrote:

This library doesn't actually include any icons for the left or right arrow. It should be how you implemented the NestedDropdownMenu's toggle. In your button or a tag, you'd just need to correctly place your arrow before or after the text to match the direction the menu opens.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mlaursen/react-dd-menu/issues/39#issuecomment-270785705, or mute the thread https://github.com/notifications/unsubscribe-auth/ABw7Uf25eEfG1Ewo_sGRi-44w3MR2nYIks5rPXk3gaJpZM4Lbczb .

sht5 avatar Jan 06 '17 05:01 sht5

Would you be able to send me a code snippet of your usage? Looking through the code, I don't see anywhere that it is being included:

DropdownMenu NestedDropdownMenu

mlaursen avatar Jan 06 '17 15:01 mlaursen

I'll try on Sunday and take another look . Thanks

On Jan 6, 2017 5:19 PM, "Mikkel Laursen" [email protected] wrote:

Would you be able to send me a code snippet of your usage? Looking through the code, I don't see anywhere that it is being included:

DropdownMenu https://github.com/mlaursen/react-dd-menu/blob/master/src/js/DropdownMenu.js#L151 NestedDropdownMenu https://github.com/mlaursen/react-dd-menu/blob/master/src/js/NestedDropdownMenu.js#L95

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mlaursen/react-dd-menu/issues/39#issuecomment-270925369, or mute the thread https://github.com/notifications/unsubscribe-auth/ABw7UbeUioQgLx-8n2wRNsYdAOAAejgMks5rPluXgaJpZM4Lbczb .

sht5 avatar Jan 06 '17 15:01 sht5