react-typeahead icon indicating copy to clipboard operation
react-typeahead copied to clipboard

hardcoding className of x <a> tag under Token to typeahead-token-close

Open vipulvkp opened this issue 4 years ago • 0 comments

value of token key passed under customClasses for Tokenizer is being used as the className for Token component and also for the tag that renders with a close action.

This is wrong . the same class name will be used for both parent and child which screws up the design. Please separate them.

https://github.com/fmoo/react-typeahead/blob/master/src/tokenizer/token.js

https://github.com/wookiehangover/react-typeahead who has forked your original repo has hardcoded the className of to typeahead-token-close in https://github.com/wookiehangover/react-typeahead/blob/master/src/tokenizer/token.js.

vipulvkp avatar Jul 25 '20 09:07 vipulvkp