emojionearea icon indicating copy to clipboard operation
emojionearea copied to clipboard

Request auto position emojionearea-picker.

Open M-Husein opened this issue 7 years ago • 15 comments

Hi, mervick

Thanks for share your work ;) I want Request auto position emojionearea-picker, like tether.js. I mean, the picker can adjust the available space position.

This is what i mean: illustrate

I hope you can add this feature for your awesome emojione plugin. Thanks you very much ;)

M-Husein avatar May 07 '17 16:05 M-Husein

Hi, Thank you for your suggestion, I know about that bug. I even already fixed this bug before, but only on in closed product with proprietary license and can't just share it.

mervick avatar May 08 '17 00:05 mervick

Oh, I see :)

What available special feature in proprietary license? Where I can show the list proprietary license?

M-Husein avatar May 08 '17 06:05 M-Husein

No, it used in proprietary product of company.

mervick avatar May 08 '17 10:05 mervick

Oh, sorry I misunderstood :)

But, please give me little info or guide to implement this, Do you use tether.js or build your own auto position system?

M-Husein avatar May 09 '17 07:05 M-Husein

I build my own auto position system, it detects position of picker button and window height, also it reacts on window scrolling

mervick avatar May 09 '17 13:05 mervick

Ok, I try build without tether.js, Thank you very much.

:+1:

M-Husein avatar May 10 '17 04:05 M-Husein

This bug is really annoying. Could anyone solve it?

I love this project, but is useless on most mobile websites that i use it. The emojionearea can't be accessed properly.

Anyone knows an emoji picker without this issue?

Zeokat avatar Mar 31 '18 01:03 Zeokat

ojis. 😎🤠😏😭😡😰🤢

sharet08 avatar Jun 25 '18 04:06 sharet08

😀🇵🇪

sharet08 avatar Jun 25 '18 04:06 sharet08

Hello all, I change emojionearea picker with bootstrap 4 dropdown menu + popper.js, auto position success, @mervick I think you should consider using popper.js

Thanks :)

M-Husein avatar Jun 26 '18 10:06 M-Husein

@M-Husein it will add additional dependency

mervick avatar Jun 26 '18 10:06 mervick

@mervick, So, have you added this feature with your own code?

M-Husein avatar Jun 26 '18 10:06 M-Husein

@M-Husein no, currently I didn't, but it's not good to add one more dependency for this. Yes, popper.js is good, but as I remember there are a lot issues with proper version of popper.js and bootstrap 4. I think popper.js can be used as plugin

mervick avatar Jun 26 '18 11:06 mervick

This bug is really annoying. Could anyone solve it?

I love this project, but is useless on most mobile websites that i use it. The emojionearea can't be accessed properly.

Anyone knows an emoji picker without this issue?

In mobile websites I hide the button, because users can add emojis from their virtual keyboads

    .emojionearea-button {
      display: none;
      @media (hover:hover) {
        display: block;
      }
    }

hacknlove avatar Feb 18 '19 15:02 hacknlove

try this with "top" positioning

    events: {
      'picker.show' (picker) {
        if (picker.offset().top < 0) {
          picker.css('top', picker.position().top - picker.offset().top)
          picker.css('position', 'absolute')
        }
      },
      'picker.hide' (picker) {
        console.log('hide')
        picker.css('top', '')
        picker.css('position', '')
      }
    }

hacknlove avatar Feb 18 '19 16:02 hacknlove